Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use resources folder only for log4j.properties. Update log4j.properti…

…es to use a cleaner pattern.
  • Loading branch information...
commit 599c8fa64129dde30f5f9313e18e6fd70589a486 1 parent 09112d5
@abedra abedra authored
View
9 config/log4j.properties
@@ -1,9 +0,0 @@
-log4j.rootLogger=info, R
-
-log4j.appender.R=org.apache.log4j.RollingFileAppender
-log4j.appender.R.File=log/compojure.log
-log4j.appender.R.MaxFileSize=1000KB
-log4j.appender.R.MaxBackupIndex=1
-log4j.appender.R.layout=org.apache.log4j.PatternLayout
-log4j.appender.R.layout.ConversionPattern=%d{MM-dd@HH:mm:ss} %-5p (%13c) - %m%n
-
View
13 resources/log4j.properties
@@ -1,5 +1,8 @@
-log4j.rootLogger=WARN, A1
-log4j.logger.user=DEBUG
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d %-5p %c: %m%n
+log4j.rootLogger=info, R
+
+log4j.appender.R=org.apache.log4j.RollingFileAppender
+log4j.appender.R.File=logs/labrepl.log
+log4j.appender.R.MaxFileSize=1000KB
+log4j.appender.R.MaxBackupIndex=1
+log4j.appender.R.layout=org.apache.log4j.PatternLayout
+log4j.appender.R.layout.ConversionPattern=%d{ISO8601} %-5p [%c] - %m%n
View
2  script/repl
@@ -1,5 +1,5 @@
#!/bin/sh
-CLASSPATH=src:test:config:data
+CLASSPATH=src:test:resources:data
for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
View
2  script/repl.bat
@@ -5,7 +5,7 @@ for /R ./lib %%a in (*.jar) do (
set CLASSPATH=!CLASSPATH!;%%a
)
set CLASSPATH=!CLASSPATH!"
-set CLASSPATH=%CLASSPATH%;src;test;config;data
+set CLASSPATH=%CLASSPATH%;src;test;resources;data
echo CLASSPATH=%CLASSPATH%
@rem jline breaks inferior-lisp.
View
2  script/test
@@ -1,5 +1,5 @@
#!/bin/sh
-CLASSPATH=test:src:config:classes:features
+CLASSPATH=test:src:resources:classes:features
for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
Please sign in to comment.
Something went wrong with that request. Please try again.