Permana
2018-10-02 2429c55948869951cf10ffea42e8b79054e93068
unipin_cms_service/src/main/resources/logback-spring.xml
....@@ -19,14 +19,14 @@
1919
2020 <!-- Send debug message to file -->
2121 <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
22
- <file>${LOG_PATH}/cms.log</file>
22
+ <file>${LOG_PATH}/unipin-cms-service-unipin.log</file>
2323
2424 <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
2525 <pattern>${LOG_PATTERN}</pattern>
2626 </encoder>
2727
2828 <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
29
- <fileNamePattern>${LOG_PATH}/cms/axespay-%i-%d{yyyyMMdd}.log</fileNamePattern>
29
+ <fileNamePattern>${LOG_PATH}/cms/unipin-cms-service-unipin-%i-%d{yyyyMMdd}.log</fileNamePattern>
3030
3131 <!-- each file should be at most 10MB, keep 90 days worth of history -->
3232 <maxHistory>90</maxHistory>
....@@ -34,23 +34,6 @@
3434 <maxFileSize>10MB</maxFileSize>
3535 </timeBasedFileNamingAndTriggeringPolicy>
3636 </rollingPolicy>
37
- </appender>
38
-
39
- <appender name="DB" class="ch.qos.logback.classic.db.DBAppender">
40
- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
41
- <level>ERROR</level>
42
- </filter>
43
- <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">
44
- <driverClass>com.mysql.jdbc.Driver</driverClass>
45
- <springProfile name="dev">
46
- <url>jdbc:mysql://52.74.234.11:3307/db_payment_gateway</url>
47
- </springProfile>
48
- <springProfile name="prod">
49
- <url>jdbc:mysql://172.31.4.96:3307/db_payment_gateway</url>
50
- </springProfile>
51
- <user>mcoupon</user>
52
- <password>mcoupon</password>
53
- </connectionSource>
5437 </appender>
5538
5639 <root level="INFO">