forked from adamfisk/LittleProxy
-
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.
Added log config and port config from the command line
- Loading branch information
afisk
committed
Oct 25, 2009
1 parent
ee92167
commit 1912a23
Showing
2 changed files
with
45 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Set the root loggers | ||
log4j.rootLogger=warn, stdout, TextFile | ||
|
||
|
||
# The root logger uses the appenders called stdout, TextFile and XMLFile. | ||
# The default level for these loggers is OFF. | ||
|
||
# stdout is set to be ConsoleAppender sending its output to System.out | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
|
||
# stdout uses PatternLayout. | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
|
||
# TextFile uses PatternLayout as well | ||
log4j.appender.RollingTextFile=org.apache.log4j.RollingFileAppender | ||
log4j.appender.RollingTextFile.File=log.txt | ||
log4j.appender.RollingTextFile.MaxFileSize=50MB | ||
log4j.appender.RollingTextFile.MaxBackupIndex=5 | ||
log4j.appender.RollingTextFile.layout=org.apache.log4j.PatternLayout | ||
|
||
log4j.appender.TextFile=org.apache.log4j.FileAppender | ||
log4j.appender.TextFile.File=log.txt | ||
log4j.appender.TextFile.Append=false | ||
log4j.appender.TextFile.layout=org.apache.log4j.PatternLayout | ||
|
||
log4j.appender.stdout.layout.ConversionPattern=%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n | ||
log4j.appender.TextFile.layout.ConversionPattern=%-6r %d{ISO8601} %-5p [%t] %c{2}.%M (%F:%L) - %m%n | ||
|
||
log4j.logger.httpclient.wire=off | ||
org.apache.commons=off | ||
log4j.logger.org.littleshoot.proxy=all |