diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-02-27 21:49:39 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-02-27 21:49:39 +0100 |
commit | 94f5c22121b682835e9232bc87d708278ccde772 (patch) | |
tree | a596e744390ddade50f1df37953f65b2312f0930 /java/project/src/resources | |
parent | 260131c35f7f1b68b66e5b29916ec05a38c4ca56 (diff) | |
download | share-94f5c22121b682835e9232bc87d708278ccde772.zip share-94f5c22121b682835e9232bc87d708278ccde772.tar.gz |
java : project : follow maven's std directory layout
Diffstat (limited to 'java/project/src/resources')
-rw-r--r-- | java/project/src/resources/Application.properties | 3 | ||||
-rw-r--r-- | java/project/src/resources/logback-test.xml | 34 |
2 files changed, 0 insertions, 37 deletions
diff --git a/java/project/src/resources/Application.properties b/java/project/src/resources/Application.properties deleted file mode 100644 index 34430cd..0000000 --- a/java/project/src/resources/Application.properties +++ /dev/null @@ -1,3 +0,0 @@ -app.logfile=MyApp.log -app.version=0.0.1 -app.env=DEV diff --git a/java/project/src/resources/logback-test.xml b/java/project/src/resources/logback-test.xml deleted file mode 100644 index 7f49e52..0000000 --- a/java/project/src/resources/logback-test.xml +++ /dev/null @@ -1,34 +0,0 @@ -<configuration debug="true"> - - <contextName>MyApp</contextName> - <property resource="Application.properties" /> - <property name="LOG_LEVEL" value="INFO" /> - <property name="LOG_REF" value="FILE" /> - <property name="LOG_FILE" value="${app.logfile}" /> - <property name="LOG_PATTERN" value="%contextName %date{ISO8601} [%-5level %thread] [%file:%line] - %msg%n" /> - - <if condition='property("app.env").contains("DEV")'> - <then> - <property name="LOG_LEVEL" value="DEBUG" /> - <property name="LOG_REF" value="STDOUT" /> - </then> - </if> - - <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> - <encoder> - <pattern>${LOG_PATTERN}</pattern> - </encoder> - </appender> - - <appender name="FILE" class="ch.qos.logback.core.FileAppender"> - <file>${LOG_FILE}</file> - <encoder> - <pattern>${LOG_PATTERN}</pattern> - </encoder> - </appender> - - <root level="${LOG_LEVEL}"> - <appender-ref ref="${LOG_REF}" /> - </root> - -</configuration> |