java - Where could I find the log configuration file in Weblogic server? -
We can modify this file to change the log generation method. For example, we could change log rolling methods, from hours or days; And show different log types: information, error, and more.
Thank you.
You can get a file named config.xml.
In this, there is an item in the config log
like:
& lt; File-name & gt; Log / Examples Server.log & lt; / File-name & gt; & Lt; Rotation type & gt; ByTime & lt; / Rotation type & gt; & Lt; Number of files limited & gt; True & lt; / Number-files limited by & gt; & Lt; File time duration & gt; 24 & lt; / File Time Duration & gt; & Lt; Rotation time & gt; 00: 00 & lt; / Rotation time & gt; & Lt; Turn-on-on-on-startup & gt; True & lt; / Rotate-log-on-on-startup & gt; & Lt; Logger-severity & gt; Information & lt; / Logger-severity & gt; & Lt; Log-file-severity & gt; Debug & lt; / Log-file-severity & gt; & Lt; Stdout-severity & gt; Notification & lt; / Stdout-severity & gt; & Lt; Domain-log-broadcast-severity & gt; Notification & lt; / Domain-log-broadcast-severity & gt; & Lt; Memory buffer-severity & gt; Trace & lt; / Memory buffer-severity & gt; & Lt; Log4j-logging enabled & gt; False & lt; / Log4j-logging enabled & gt; & Lt; Redirect-server-log-enabled from stdout & gt; False & lt; / Redirect-stdout to server-log-enabled & gt; & Lt; Domain-Log-Broadcaster-buffer size & gt; 1 & lt; / Domain-log-magnifier-buffer size & gt; & Lt; / Logs & gt;
Thanks, Joseph
Comments
Post a Comment