on 05-04-2016 1:44 PM
log4j.appender.CONSOLE=org.apache.log4j.DailyRollingFileAppender log4j.appender.CONSOLE.Target=System.out log4j.appender.CONSOLE.File=${HYBRIS_LOG_DIR}/tomcat/console.log log4j.appender.CONSOLE.ImmediateFlush=true log4j.appender.CONSOLE.Threshold=DEBUG log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.DatePattern='-'yyyy-MM-dd'.log' log4j.appender.CONSOLE.layout.ConversionPattern=%d %-5p [%X{RemoteAddr}] (%X{Tenant}) [%c] %m%n log4j.rootLogger=debug,CONSOLE
This is what i have done. I think in this properties are overridden by project.properties file where also console related log are there. If any one have answer please provide.Thanks in advance.
Are you talking about the tomcat logs (e.g. /log/tomcat/console-YYYYMMDD.log? If that's the one you're talking about these are configured in your wrapper*.conf files:
wrapper.logfile=${tomcat.wrapper.logfile}
wrapper.logfile.format=LPDZM
wrapper.logfile.loglevel=INFO
wrapper.logfile.maxfiles=365
wrapper.logfile.rollmode=DATE
wrapper.syslog.loglevel=NONE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.