Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SYMMETRICDS-290 - added new logging options for standalone deployment…
…. also cleaned up a few logging issues to make logging less verbose for unregistered nodes.
- Loading branch information
Showing
9 changed files
with
165 additions
and
29 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
symmetric/symmetric-ds/src/main/deploy/conf/log4j-blank.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | ||
|
||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> | ||
|
||
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
<root> | ||
<priority value="INFO" /> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
|
||
</log4j:configuration> |
53 changes: 53 additions & 0 deletions
53
symmetric/symmetric-ds/src/main/deploy/conf/log4j-debug.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | ||
|
||
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> | ||
|
||
<appender name="ROLLING" class="org.apache.log4j.RollingFileAppender"> | ||
<param name="File" value="../logs/symmetric.log" /> | ||
<param name="MaxFileSize" value="10000KB" /> | ||
<param name="MaxBackupIndex" value="3" /> | ||
<param name="Append" value="true" /> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%d %-5p [%c{2}] [%t] %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> | ||
<layout class="org.apache.log4j.PatternLayout"> | ||
<param name="ConversionPattern" value="%c{1} - %m%n" /> | ||
</layout> | ||
</appender> | ||
|
||
<category name="org"> | ||
<priority value="WARN" /> | ||
</category> | ||
|
||
<category name="org.springframework"> | ||
<priority value="ERROR" /> | ||
</category> | ||
|
||
<category name="org.jumpmind"> | ||
<priority value="INFO" /> | ||
</category> | ||
|
||
<category name="org.jumpmind.symmetric"> | ||
<priority value="DEBUG" /> | ||
</category> | ||
|
||
<category name="org.jumpmind.symmetric.ddl.platform.derby"> | ||
<priority value="ERROR" /> | ||
</category> | ||
|
||
<category name="org.jumpmind.symmetric.job.HeartbeatJob"> | ||
<priority value="INFO" /> | ||
</category> | ||
|
||
<!-- Change the "CONSOLE" to "ROLLING" to log to a file instead --> | ||
<root> | ||
<priority value="INFO" /> | ||
<appender-ref ref="ROLLING" /> | ||
<appender-ref ref="CONSOLE" /> | ||
</root> | ||
|
||
</log4j:configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters