Philip

Philip Wachtel wrote:
Hello again,

I have one other question. I'm trying to get used to Turbine and all of the features that come with it, but I'm still a bit shaky with some details.

I'm using Turbine 2.2.0.

I've been trying to write to the logs on a debug level. None seem to write anything anywhere.

I've tried:
Log.info("system", "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
Log.debug("AddUser.doCreateUser(): We've had an exception: " + e.getMessage());
Log.getLogger().debug("system", 
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
Log.getLogger().debug("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");

Nothing seems to work.

I have log4j.properties in my classes directory. Other logging works in other areas of the system. Just not my logging.

My log4j.properties file contains:
#
# Currently, we use Log4J for all Torque, Fulcrum and Stratum logging
#
log4j.category.org.apache.stratum.component.ComponentLoader = ALL, 
org.apache.stratum.component.ComponentLoader
log4j.appender.org.apache.stratum.component.ComponentLoader = 
org.apache.log4j.FileAppender
log4j.appender.org.apache.stratum.component.ComponentLoader.file = turbine.log

Is this file path working for you? You may have to use an absolute path.


Also, you have to set the logging level in TurbineResources.properties. Did you do that?

Eric


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to