Skip to content

Commit

Permalink
remove file logger for cli tools for rundeck#1816
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 20, 2016
1 parent e1e7b61 commit 07fea3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
log4j.rootCategory=INFO, file
log4j.rootCategory=INFO, stdout

#
# stdout - ConsoleAppender
Expand All @@ -15,15 +15,4 @@ log4j.appender.stdout.layout.ConversionPattern=%-5p %c{1}: %m%n
#
log4j.appender.plainStdout=org.apache.log4j.ConsoleAppender
log4j.appender.plainStdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.plainStdout.ConversionPattern=%m%n


#
# file - DailyRollingFileAppender
#
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file.file=@framework.logs.dir@/command.log
log4j.appender.file.datePattern='.'yyyy-MM-dd
log4j.appender.file.append=true
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n
log4j.appender.stdout.plainStdout.ConversionPattern=%m%n
12 changes: 1 addition & 11 deletions packaging/debroot/etc/rundeck/cli-log4j.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
log4j.rootCategory=INFO, file
log4j.rootCategory=INFO, stdout

#
# stdout - ConsoleAppender
Expand All @@ -17,13 +17,3 @@ log4j.appender.plainStdout=org.apache.log4j.ConsoleAppender
log4j.appender.plainStdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.plainStdout.ConversionPattern=%m%n


#
# file - DailyRollingFileAppender
#
#log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.file.file=rundeck-cli.log
#log4j.appender.file.datePattern='.'yyyy-MM-dd
#log4j.appender.file.append=true
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n
12 changes: 1 addition & 11 deletions packaging/root/etc/rundeck/cli-log4j.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
log4j.rootCategory=INFO, file
log4j.rootCategory=INFO, stdout

#
# stdout - ConsoleAppender
Expand All @@ -17,13 +17,3 @@ log4j.appender.plainStdout=org.apache.log4j.ConsoleAppender
log4j.appender.plainStdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.plainStdout.ConversionPattern=%m%n


#
# file - DailyRollingFileAppender
#
#log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.file.file=rundeck-cli.log
#log4j.appender.file.datePattern='.'yyyy-MM-dd
#log4j.appender.file.append=true
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n

0 comments on commit 07fea3c

Please sign in to comment.