I installed opencms-maven and there is no opencms.log file neither /logs folder in /WEB-INF directory. How can I get the opencms logs?<br><br>opencms_init.log is empty and below is the content of my log4j.properties.<br><br>
# What follows is the default OpenCms log4j configuration.<br># OpenCms uses the "commons-logging" component to detect the available logging implementation.<br># A recent log4j.jar is shipped with the default OpenCms installation and thus log4j is used.<br>
# To use another logging mechanism, delete the shipped log4j.jar in /WEB-INF/lib.<br># You must then provide the configuration of the logging mechanism you want to use by<br># environment settings or startup parameters of the servlet engine.<br>
<br># OpenCms provides a special variable /opencms.log to the environment, which contains<br># the log file path. The location of this file is calculated relative to this <br># "log4j.properties" file on OpenCms startup. If this file is located in the folder "${classes}",<br>
# then the log is written to "${classes}../logs/opencms.log". <br># To disable this mechanism, you must set ${opencms.set.logfile} to "false". In this case <br># you must configure the log output file manually.<br>
opencms.set.logfile=true<br>opencms.logfile=opencms_init.log<br><br># Per default we use WARN debug level and just one appender<br>log4j.rootLogger=\<br>    ERROR,\<br>    OC<br><br># ,CONSOLE<br><br># Optional CONSOLE appender for logging on the system console (good for debugging during development)<br>
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender<br><br># CONSOLE uses PatternLayout.<br>log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout<br>log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%15.15C:%4L] %m%n<br>
<br># Set levels for all default channels available in OpenCms<br>log4j.logger.com.opencms=ERROR<br>log4j.logger.org.opencms=ERROR<br>log4j.logger.org.opencms.init=INFO<br>log4j.logger.org.opencms.monitor=INFO<br>log4j.logger.org.opencms.scheduler=INFO<br>
log4j.logger.org.opencms.search=INFO<br>log4j.logger.org.opencms.staticexport=WARN<br>log4j.logger.org.opencms.jsp.CmsJspLoginBean=INFO<br>log4j.logger.org.opencms.db.mysql3.CmsProjectDriver=INFO<br>log4j.logger.org.opencms.db.mysql.CmsProjectDriver=INFO<br>
log4j.logger.org.opencms.db.oracle8.CmsProjectDriver=INFO<br>log4j.logger.org.opencms.db.oracle.CmsProjectDriver=INFO<br>log4j.logger.org.opencms.workplace.tools=WARN<br><br># This default appender configuration simply writes all OpenCms channels in one log file<br>
# A OpenCms 'channel' directly translates into a 'logger' in the log4j lingo<br>log4j.appender.OC=org.apache.log4j.RollingFileAppender<br><br># In a default Tomcat installation, this should place the log file in the Tomcat log directory<br>
# Adjust this path in case you want to log in another directory<br>log4j.appender.OC.File=/opencms.log<br><br># Limit log size to 5mb, then rotate<br>log4j.appender.OC.MaxFileSize=2mb<br><br># Keep 5 backup files<br>log4j.appender.OC.MaxBackupIndex=5<br>
<br># This specifies the logfile layout<br>log4j.appender.OC.layout=org.apache.log4j.PatternLayout<br>log4j.appender.OC.layout.ConversionPattern=%d{DATE} %5p [%30.30C:%4L] %m%n<br><br><br>-- <br>Molina, vendido, la sgae es de tu primo.<br>
Molina, mamon, el torrent lo mejor.<br>Tu presencia es daņina, tu gestion es de letrina, pirate ya, molina.<br>Vete a la mina Molina.<br><a href="http://molinapirate.blogspot.com/">http://molinapirate.blogspot.com/</a><br>