forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rundeck#1816 from gschueler/feature/cli-log4j
use separate cli-log4j.properties log4j config for cli tools
- Loading branch information
Showing
10 changed files
with
67 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# | ||
log4j.rootCategory=INFO, file | ||
|
||
# | ||
# stdout - ConsoleAppender | ||
# | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.ConversionPattern=%-5p %c{1}: %m%n | ||
|
||
# | ||
# plainStdout - ConsoleAppender which | ||
# doesnt provide any timestamps, etc | ||
# | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# | ||
log4j.rootCategory=INFO, file | ||
|
||
# | ||
# stdout - ConsoleAppender | ||
# | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.ConversionPattern=%-5p %c{1}: %m%n | ||
|
||
# | ||
# plainStdout - ConsoleAppender which | ||
# doesnt provide any timestamps, etc | ||
# | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters