[opencms] Re: [opencms-dev] Install version - Tomcat 5.0.19 & JDK 1.4.2

Jorge González informatico at hotelparadisepark.com
Thu Feb 17 19:55:40 CET 2005


Hi:

This is the VERBOSE trace configuration, edit opencms.properties file under
WEB-INF/config

BEWARE, it generates console output, so there is a major performance hit
here.

Good luck.

cut-------------------------------

#
# Logging configuration
############################################################################
#####

# The filename given here will be made an absolute path and set in the Java
System
# properties with the key "opencms.log" during OpenCms initialization.
# The default OpenCms log4j configuration uses this property, see below.
# This will also be available if you use another logging implementation.
log.file=logs/opencms.log

# By default, OpenCms will set the System parameter "log4j.configuration"
# to point to "this" file ("this" being a magic keyword).
# If you want to set a different file, set any filename here,
# or leave it blank and OpenCms will not set "log4j.configuration" at all.
log.log4j.configuration=this

# What follows is the default OpenCms log4j configuration.
# OpenCms uses the "commons-logging" component to detect the available
logging implementation.
# A recent log4j.jar is shipped with the default OpenCms installation and
thus log4j is used.
# To use another logging mechanism, delete the shipped log4j.jar in
/WEB-INF/lib.
# You must then provide the configuration of the logging mechanism you want
to use by
# environment settings or startup parameters of the servlet engine.
# In case you don't use log4j, all following setting in this section are
ignored.

# Per default we use WARN debug level and just one appender
log4j.rootLogger=\
	ERROR,\
	OC, CONSOLE

# Optional CONSOLE appender for logging on the system console (good for
debugging during development)
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

# CONSOLE uses PatternLayout.
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%15.15C:%4L] %m%n

# Set levels for all default channels available in OpenCms
log4j.logger.com.opencms=DEBUG
log4j.logger.com.opencms.workplace.CmsLoginNew=DEBUG
log4j.logger.com.opencms.legacy.CmsLegacyModuleAction=DEBUG
log4j.logger.org.opencms=DEBUG
log4j.logger.org.opencms.init=DEBUG
log4j.logger.org.opencms.scheduler=DEBUG
log4j.logger.org.opencms.monitor=DEBUG
log4j.logger.org.opencms.db.mysql.CmsProjectDriver=DEBUG
log4j.logger.org.opencms.db.oracle.CmsProjectDriver=DEBUG
log4j.logger.org.opencms.loader=WARN

# This default appender configuration simply writes all OpenCms channels in
one log file
# A OpenCms 'channel' directly translates into a 'logger' in the log4j lingo
log4j.appender.OC=org.apache.log4j.RollingFileAppender

# In a default Tomcat installation, this should place the log file in the
Tomcat log directory
# Adjust this path in case you want to log in another directory
# By default we use the log file that has been set above as "log.file"
property
log4j.appender.OC.File=${opencms.log}

# Limit log size to 5mb, then rotate
log4j.appender.OC.MaxFileSize=2mb

# Keep 5 backup files
log4j.appender.OC.MaxBackupIndex=5

# This specifies the logfile layout
log4j.appender.OC.layout=org.apache.log4j.PatternLayout
# log4j.appender.OC.layout.ConversionPattern=%d{DATE} %5p <%16.16c> %m%n

# Alternative log layout with more information (uncomment to use, this
requires more CPU)
log4j.appender.OC.layout.ConversionPattern=%d{DATE} %5p [%30.30C:%4L] %m%n


cut-------------------------------


-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de P.Hill & E.Goodall
Enviado el: jueves, 17 de febrero de 2005 18:35
Para: The OpenCms mailing list
Asunto: [opencms] Re: [opencms-dev] Install version - Tomcat 5.0.19 &
JDK 1.4.2


> At 07:58 PM 2/15/2005, P.Hill & E.Goodall wrote:

Just thought I repeat the obvious question.

>> By the way, should there be NOTHING in the datatables
>> once I have run the installation wizard?

Also, what are some ways to increase logging to I might track down
what is going wrong?

-Paul




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list