Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Open Source Projects and the fly likes Getting stray log messages from middleware Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Getting stray log messages from middleware" Watch "Getting stray log messages from middleware" New topic
Author

Getting stray log messages from middleware

Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
Hello:
We are using log4j to log our TIBCO BusinessWorks (BW) application--the logging code runs under the control of the BW. We get stray messages from time to time from the run-time of the BW. Here is the constructor for the logger: -

My question is: will changing the name of the logger potentially fix this? Setting up the additivity to false will prevent our logger from writing to the BW runtime logs, but how to prevent the opposite?

thanks in advance...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9937
    
159

What does your log4j.xml (or log4j.properties) look like?


[My Blog] [JavaRanch Journal]
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
We are using the programmatic configuration you see in the code snippet - no config file...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting stray log messages from middleware
 
Similar Threads
HOw to create user defined log file for an application
Log4j will not write to log file.
Problem with DailyRollingFileAppender
Static object doesn't get collected. Why?
log4j logging twice