aspose file tools*
The moose likes Other Open Source Projects and the fly likes Where does Log4j log if the file parameter is not given Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Where does Log4j log if the file parameter is not given" Watch "Where does Log4j log if the file parameter is not given" New topic
Author

Where does Log4j log if the file parameter is not given

Allexicus Kernikus
Ranch Hand

Joined: Oct 07, 2009
Posts: 42
I'm deploying my application on a WebLogic server & was wondering, where log4j would log if the following line was not given in the log4j.xml file:

<!-- <param name="File" value="/apps/ci/oramw12c/user_projects/domains/DEV_KERNA4/servers/rbals72_dev_kerna4/logs/MosaicWS.log"/> -->

In my opinion it should add the log entries to the log file in my server\log folder, right? I cannot find any entries....
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Well, what does the rest of your configuration look like? It is not going to guess where you want it to log. Are you using a file appender?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where does Log4j log if the file parameter is not given