• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does Log4j log if the file parameter is not given

 
Allexicus Kernikus
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic