Permana
2018-08-07 8f44d0a0ccb425b0cbf4758867c3e16cc2ec9b8f
config bbd0
2 files added
1 files renamed
2 files deleted
86 ■■■■ changed files
.idea/libraries/Maven__id_co_qhodok_tools_trigger_2_0.xml 13 ●●●●● patch | view | raw | blame | history
unipin_charge_service/src/main/resources/logback-spring.xml patch | view | raw | blame | history
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/BBDOController.java 4 ●●●● patch | view | raw | blame | history
unipin_mo_service/src/main/resources/logback-spring.xml 39 ●●●●● patch | view | raw | blame | history
unipin_mo_service/src/main/resources/logback.xml 30 ●●●●● patch | view | raw | blame | history
.idea/libraries/Maven__id_co_qhodok_tools_trigger_2_0.xml
deleted file mode 100644
....@@ -1,13 +0,0 @@
1
-<component name="libraryTable">
2
- <library name="Maven: id.co.qhodok.tools:trigger:2.0">
3
- <CLASSES>
4
- <root url="jar://$MAVEN_REPOSITORY$/id/co/qhodok/tools/trigger/2.0/trigger-2.0.jar!/" />
5
- </CLASSES>
6
- <JAVADOC>
7
- <root url="jar://$MAVEN_REPOSITORY$/id/co/qhodok/tools/trigger/2.0/trigger-2.0-javadoc.jar!/" />
8
- </JAVADOC>
9
- <SOURCES>
10
- <root url="jar://$MAVEN_REPOSITORY$/id/co/qhodok/tools/trigger/2.0/trigger-2.0-sources.jar!/" />
11
- </SOURCES>
12
- </library>
13
-</component>
unipin_charge_service/src/main/resources/logback.xml
similarity index 100%rename from unipin_charge_service/src/main/resources/logback.xmlrename to unipin_charge_service/src/main/resources/logback-spring.xml
unipin_cms_service/src/main/java/id/co/accessmobile/carrier/billing/unipin/cstools/controller/BBDOController.java
....@@ -0,0 +1,4 @@
1
+package id.co.accessmobile.carrier.billing.unipin.cstools.controller;
2
+
3
+public class BBDOController {
4
+}
unipin_mo_service/src/main/resources/logback-spring.xml
....@@ -0,0 +1,39 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<configuration>
3
+
4
+ <property name="LOG_PATTERN" value="%d %-5level [%logger{20}] %msg%n"/>
5
+
6
+ <springProfile name="dev">
7
+ <property name="LOG_PATH" value="~/drive/amcloud/Project/ECOMMERS/payment_gateway/log/"/>
8
+ </springProfile>
9
+
10
+ <springProfile name="prod">
11
+ <property name="LOG_PATH" value="/app1/am/app/unipin/log/"/>
12
+ </springProfile>
13
+
14
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
15
+ <encoder>
16
+ <pattern>${LOG_PATTERN}</pattern>
17
+ </encoder>
18
+ </appender>
19
+
20
+
21
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
22
+ <file>${LOG_PATH}/unipin-mo-service.log</file>
23
+ <encoder>
24
+ <pattern>${LOG_PATTERN}</pattern>
25
+ </encoder>
26
+
27
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
28
+ <fileNamePattern>${LOG_PATH}/mo/log.log.%d{yyyyMMdd}</fileNamePattern>
29
+ <maxHistory>180</maxHistory>
30
+ </rollingPolicy>
31
+
32
+ </appender>
33
+
34
+
35
+ <root level="info">
36
+ <appender-ref ref="STDOUT" />
37
+ <appender-ref ref="FILE"/>
38
+ </root>
39
+</configuration>
unipin_mo_service/src/main/resources/logback.xml
deleted file mode 100644
....@@ -1,30 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<configuration>
3
-
4
- <property name="LOG_PATTERN" value="%d %-5level [%logger{20}] %msg%n" />
5
-
6
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
7
- <encoder>
8
- <pattern>${LOG_PATTERN}</pattern>
9
- </encoder>
10
- </appender>
11
-
12
- <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
13
- <file>/app1/am/app/unipin/log/unipin-mo-service.log</file>
14
- <encoder>
15
- <pattern>${LOG_PATTERN}</pattern>
16
- </encoder>
17
-
18
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
19
- <fileNamePattern>/app1/am/app/unipin/log/mo/log.log.%d{yyyyMMdd}</fileNamePattern>
20
- <maxHistory>180</maxHistory>
21
- </rollingPolicy>
22
-
23
- </appender>
24
-
25
-
26
- <root level="info">
27
- <!--<appender-ref ref="STDOUT" />-->
28
- <appender-ref ref="FILE" />
29
- </root>
30
-</configuration>