Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update main log4j file

  • Loading branch information...
commit c18063c43548d364daa3b2951ee77403143561b6 1 parent 9c9bc0d
Costin Leau authored
8 samples/helloworld/build.gradle
View
@@ -5,10 +5,8 @@ apply plugin: 'eclipse'
apply plugin: 'application'
repositories {
- mavenCentral()
- maven { url "http://repo.springsource.org/snapshot" }
- maven { url "http://repo.springsource.org/release" }
- maven { url "http://repo.springsource.org/milestone" }
+ mavenLocal()
+ maven { url "http://repo.springsource.org/libs-snapshot" }
maven { url "http://spring-roo-repository.springsource.org/release" }
}
@@ -19,4 +17,4 @@ dependencies {
mainClassName = "org.springframework.shell.Bootstrap"
-defaultTasks 'clean', 'build', 'copyDependency'
+defaultTasks 'installApp'
10 src/main/resources/log4j.properties
View
@@ -1,6 +1,16 @@
+# configure shell first
+log4j.category.org.springframework.shell=INFO, out
+
+# then everything else
log4j.rootCategory=WARN, stdout
+# standard logging including calling site
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %40.40c:%4L - %m%n
+
+# standard logging including calling site
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%m%n
12 src/test/resources/log4j.properties
View
@@ -1,6 +1,16 @@
-log4j.rootCategory=INFO, stdout
+# configure shell first
+log4j.category.org.springframework.shell=INFO, out
+# then everything else
+log4j.rootCategory=WARN, stdout
+
+# standard logging including calling site
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %40.40c:%4L - %m%n
+
+# standard logging including calling site
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%m%n
Please sign in to comment.
Something went wrong with that request. Please try again.