ability to show "Current File" always (WEB-20644)
[idea/community.git] / bin / log.xml
1 <?xml version='1.0' encoding='ISO-8859-1' ?>
2 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3
4 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
5   <appender name="CONSOLE-WARN" class="org.apache.log4j.ConsoleAppender">
6     <param name="target" value="System.err"/>
7     <layout class="org.apache.log4j.PatternLayout">
8       <param name="ConversionPattern" value="[%7r] %6p - %30.30c - %m \n"/>
9     </layout>
10     <filter class="org.apache.log4j.varia.LevelRangeFilter">
11       <param name="LevelMin" value="WARN"/>
12     </filter>
13   </appender>
14
15   <appender name="CONSOLE-DEBUG" class="org.apache.log4j.ConsoleAppender">
16     <layout class="org.apache.log4j.PatternLayout">
17       <param name="ConversionPattern" value="[%7r] %6p - %30.30c - %m \n"/>
18     </layout>
19     <filter class="org.apache.log4j.varia.LevelRangeFilter">
20       <param name="LevelMin" value="DEBUG"/>
21       <param name="LevelMax" value="DEBUG"/>
22     </filter>
23   </appender>
24
25   <appender name="CONSOLE-ALL" class="org.apache.log4j.ConsoleAppender">
26     <layout class="org.apache.log4j.PatternLayout">
27       <param name="ConversionPattern" value="[%7r] %6p - %30.30c - %m \n"/>
28     </layout>
29   </appender>
30
31   <appender name="DIALOG" class="com.intellij.diagnostic.DialogAppender">
32     <filter class="org.apache.log4j.varia.LevelRangeFilter">
33       <param name="LevelMin" value="INFO"/>
34     </filter>
35   </appender>
36
37   <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
38     <param name="MaxFileSize" value="1Mb"/>
39     <param name="MaxBackupIndex" value="12"/>
40     <param name="File" value="$LOG_DIR$/idea.log"/>
41     <layout class="org.apache.log4j.PatternLayout">
42       <param name="ConversionPattern" value="%d [%7r] %6p - %30.30c - %m \n"/>
43     </layout>
44   </appender>
45
46   <appender name="CONTINUOUS_FILE" class="org.apache.log4j.FileAppender">
47     <param name="File" value="$LOG_DIR$/continuous.log"/>
48     <param name="append" value="false"/>
49     <layout class="org.apache.log4j.PatternLayout">
50       <param name="ConversionPattern" value="%d [%7r] %6p - %30.30c - %m \n"/>
51     </layout>
52   </appender>
53
54   <root>
55     <priority value="INFO"/>
56     <appender-ref ref="DIALOG"/>
57     <appender-ref ref="CONSOLE-WARN"/>
58     <appender-ref ref="FILE"/>
59   </root>
60 </log4j:configuration>