Skip to content

Commit

Permalink
staging server specific configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
SanthoshVasabhaktula committed Jul 29, 2015
1 parent c7fa13a commit 9e61fb0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/main/config/log4j.prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,20 @@ log4j.appender.CONSOLE.layout.ConversionPattern=%d{ISO8601} [%t] (%C:%L) %-5p %m

log4j.appender.ROLLINGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.ROLLINGFILE.Threshold=INFO
log4j.appender.ROLLINGFILE.File=/mnt/secor_data/logs/secor-${secor_group}.log
log4j.appender.ROLLINGFILE.File=/tmp/secor_data/logs/secor-${secor_group}.log
# keep log files up to 1G
log4j.appender.ROLLINGFILE.MaxFileSize=20MB
log4j.appender.ROLLINGFILE.MaxBackupIndex=50
log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} [%t] (%C:%L) %-5p %m%n

log4j.appender.ROLLINGFILE2=org.apache.log4j.RollingFileAppender
log4j.appender.ROLLINGFILE2.Threshold=DEBUG
log4j.appender.ROLLINGFILE2.File=/home/ubuntu/secor-dist/logs/secor-uploader.log
# keep log files up to 1G
log4j.appender.ROLLINGFILE2.MaxFileSize=200MB
log4j.appender.ROLLINGFILE2.MaxBackupIndex=5
log4j.appender.ROLLINGFILE2.layout=org.apache.log4j.PatternLayout
log4j.appender.ROLLINGFILE2.layout.ConversionPattern=%d{ISO8601} [%t] (%C:%L) %-5p %m%n

log4j.logger.com.pinterest.secor.uploader.Uploader=DEBUG, ROLLINGFILE2

0 comments on commit 9e61fb0

Please sign in to comment.