aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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: 10210
    
166

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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Getting stray log messages from middleware