Note that there are some explanatory texts on larger screens.

plurals
  1. POlog4j log message during log4j initialization
    primarykey
    data
    text
    <p>I was trying to setup log4j (xml based) configuration, <a href="http://wiki.apache.org/logging-log4j/LogToAppenderByLevel" rel="nofollow noreferrer">Use LevelRangeFilter</a>, as described in the official site. Everything is fine so far, except log4j spit out its own log messages till it initializes. After the <strong><em>'finished configuration'</em></strong> line, everything is normal. Also, there is an error stating <strong><em>"log4j: Could not find root logger information. Is this OK?"</em></strong> .</p> <p>thanks.</p> <pre><code>log4j: reset attribute= "false". log4j: Threshold ="null". log4j: Level value for root is [all]. log4j: root level set to ALL log4j: Class name: [org.apache.log4j.FileAppender] log4j: Setting property [file] to [logs/debug.log]. log4j: Parsing layout of class: "org.apache.log4j.PatternLayout" log4j: Setting property [conversionPattern] to [[%d{ISO8601}] %-5p %c %m %n]. log4j: Setting property [levelMax] to [DEBUG]. log4j: Setting property [levelMin] to [DEBUG]. log4j: Setting property [acceptOnMatch] to [true]. log4j: Adding filter of type [class org.apache.log4j.varia.LevelRangeFilter] to appender named [debug-out]. log4j: setFile called: logs/debug.log, true log4j: setFile ended .................. ................... log4j: Adding appender named [error-out] to category [root]. log4j: Class name: [org.apache.log4j.ConsoleAppender] log4j: Setting property [target] to [System.err]. log4j: Parsing layout of class: "org.apache.log4j.PatternLayout" log4j: Setting property [conversionPattern] to [[%d{ISO8601}] %-5p %c %m %n]. log4j: Setting property [levelMin] to [INFO]. log4j: Setting property [levelMax] to [FATAL]. log4j: Adding filter of type [class org.apache.log4j.varia.LevelRangeFilter] to appender named [console]. log4j: Adding appender named [console] to category [root]. log4j: Reading configuration from URL file:/C:/Work/test/conf/log4j.xml log4j: Could not find root logger information. Is this OK? log4j: Finished configuring. </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload