Hi,
Config file excerpt 1):
# Home property
mbx.home=C:\\Projects\\Work\\Dist\\MbxTest
# Log root
log.folder=${mbx.home}\\log
Does not work.... (mbx.home is not interpolated)
log.folder=C:\\Projects\\Work\\Dist\\MbxTest\\log
Does work...
Why?
Config file excerpt 2):
# Jtapi log properties
log4j.category.JtapiEventDispatcher=debug, jtapiAppender
log4j.category.JtapiEventDispatcher.additivity=false
log4j.appender.jtapiAppender=org.apache.log4j.FileAppender
log4j.appender.jtapiAppender.File=${log.folder}\\jtapi-events.log
log4j.appender.jtapiAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.jtapiAppender.layout.ConversionPattern=%d{HH:mm:ss} - "%m"%n
Does _not_ set the additivity flag to false. Workaround is to do it manually
in the code (which is kind of ugly). How do I set the additivity in the
config file?
Any help as much appreciated.
--
Thomas
*************************************************************************
Copyright ERA Technology Ltd. 2001. (www.era.co.uk). All rights reserved.
Confidential. No liability whatsoever is accepted for any loss or damage
suffered as a result of accessing this message or any attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]