A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Other Open Source Projects
Where does Log4j log if the file parameter is not given
Joined: Oct 07, 2009
Jun 21, 2012 05:37:16
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....
Joined: Oct 10, 2000
Jun 25, 2012 15:14:51
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:
subject: Where does Log4j log if the file parameter is not given
Unable to log to file
log4j log files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014