Forums Register Login

Where does Log4j log if the file parameter is not given

+Pie Number of slices to send: Send
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....
+Pie Number of slices to send: Send
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?
What's wrong? Where are you going? Stop! Read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 560 times.
Similar Threads
Unable to log to file
Logging
setting log4j
log4j log files
log files
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:57:41.