aboutsummaryrefslogtreecommitdiffstats
path: root/event-client-dmaap/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'event-client-dmaap/src/main/resources')
-rw-r--r--event-client-dmaap/src/main/resources/logback.xml27
-rw-r--r--event-client-dmaap/src/main/resources/resources.properties38
2 files changed, 65 insertions, 0 deletions
diff --git a/event-client-dmaap/src/main/resources/logback.xml b/event-client-dmaap/src/main/resources/logback.xml
new file mode 100644
index 0000000..5e5234c
--- /dev/null
+++ b/event-client-dmaap/src/main/resources/logback.xml
@@ -0,0 +1,27 @@
+<configuration>
+ <property name="logDirectory" value="logs/" />
+
+ <appender name="event-bus-client" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <File>${logDirectory}/application.log</File>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDirectory}/application.log.%d{yyyy-MM-dd}</fileNamePattern>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <logger name="com.att.eelf" level="INFO" additivity="false">
+ <appender-ref ref="event-bus-client"/>
+ </logger>
+
+ <!-- DEBUG < INFO < WARN < ERROR -->
+ <logger name="event-bus-client" level="INFO" additivity="false">
+ <appender-ref ref="event-bus-client"/>
+ </logger>
+
+ <root level="INFO">
+ <appender-ref ref="event-bus-client"/>
+ </root>
+
+</configuration> \ No newline at end of file
diff --git a/event-client-dmaap/src/main/resources/resources.properties b/event-client-dmaap/src/main/resources/resources.properties
new file mode 100644
index 0000000..b8cd27a
--- /dev/null
+++ b/event-client-dmaap/src/main/resources/resources.properties
@@ -0,0 +1,38 @@
+#Resource key=Error Code|Message text|Resolution text |Description text
+#######
+#Newlines can be utilized to add some clarity ensuring continuing line
+#has atleast one leading space
+#ResourceKey=\
+# ERR0000E\
+# Sample error msg txt\
+# Sample resolution msg\
+# Sample description txt
+#
+######
+#Error code classification category
+#100 Permission errors
+#200 Availability errors/Timeouts
+#300 Data errors
+#400 Schema Interface type/validation errors
+#500 Business process errors
+#900 Unknown errors
+#
+########################################################################
+
+MESSAGE_INFO=\
+ |\
+ {0}|\
+ |\
+ |\
+
+MESSAGE_ERROR=\
+ |\
+ {0}|\
+ |\
+ |\
+
+MESSAGE_WARN=\
+ |\
+ {0}|\
+ |\
+ |\ \ No newline at end of file