logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent, Doug" <doug.k...@eds.com>
Subject Running log4j under TIBCO BusinessWorks
Date Thu, 23 Oct 2008 18:09:42 GMT
We have coded a logger that is run under the control of the TIBCO
BusinessWorks (BW) engine.  It works fine, except for the fact that
occasionally the BW engine apparently "hijacks" logging events.  The BW
engine uses log4j as well.  How can we ensure that the loggers remain
separate?  We do not use a configuration file.  Here is the code for the
creation of the logger--we construct a new one every time the
application calls the logging process (we found this, and calling
shutdown, helps the behavior of the logger vies a vie interaction with
the BW engine logger.)
PatternLayout pl = new PatternLayout("%m%n");
logger = Logger.getLogger(this.getClass());
DailyRollingFileAppender drfa = new DailyRollingFileAppender(pl,
LogFile_PathAndName, "'_'yyMMdd'.log'");
myLogger.info  (sLogMessage);

Douglas Kent 


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message