| log4j.rootCategory=ERROR,stdout,logfile |
| |
| # Set the level to DEBUG if you want to log all SlideExceptions (some of them aren't errors) |
| log4j.category.org.apache.axis2=FATAL |
| log4j.category.org.apache.synapse=FATAL |
| log4j.category.org.apache.synapse.mediators=INFO |
| |
| log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| |
| log4j.appender.stdout.layout.ConversionPattern=[%t] %-5p %-20c{2} - %m %n |
| |
| #### appender writes to a file |
| log4j.appender.logfile=org.apache.log4j.RollingFileAppender |
| log4j.appender.logfile.File=synapse.log |
| |
| |
| # Control the maximum log file size |
| log4j.appender.logfile.MaxFileSize=1000KB |
| # Archive log files (one backup file here) |
| log4j.appender.logfile.MaxBackupIndex=10 |
| |
| log4j.appender.logfile.layout=org.apache.log4j.PatternLayout |
| log4j.appender.logfile.layout.ConversionPattern=%6r %5p [%t] (%F:%L) - %m%n |
| |