Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use src/main/resources folder for xml and properties files
- Loading branch information
Showing
93 changed files
with
236 additions
and
96 deletions.
There are no files selected for viewing
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
24 changes: 24 additions & 0 deletions
24
logback-examples/src/main/resources/chapters/appenders/conf/logback-sizeAndTime_NEW.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,24 @@ | ||
<configuration> | ||
|
||
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener" /> | ||
|
||
<appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<file>mylog.txt</file> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> | ||
<!-- rollover daily --> | ||
<fileNamePattern>mylog-%d{yyyy-MM-dd'T'HHmmss}.%i.txt</fileNamePattern> | ||
<maxFileSize>100</maxFileSize> | ||
<maxHistory>2</maxHistory> | ||
<totalSizeCap>200</totalSizeCap> | ||
</rollingPolicy> | ||
<encoder> | ||
<pattern>%msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
|
||
<root level="debug"> | ||
<appender-ref ref="ROLLING" /> | ||
</root> | ||
|
||
</configuration> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
logback-examples/src/main/resources/chapters/onJoran/calculator/readme.txt
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,7 @@ | ||
This directory contains the the calculator example. It shows how Actions can | ||
collaborate in order to accomplish a simple computation. | ||
|
||
For further information, please refer to | ||
|
||
http://logback.qos.ch/manual/onJoran.html#calculator | ||
|
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
logback-examples/src/main/resources/chapters/onJoran/helloWorld/readme.txt
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,6 @@ | ||
The example illustrates the minimal plumbing required for using Joran. | ||
|
||
For further explanations, please refer to | ||
|
||
http://logback.qos.ch/manual/onJoran.html#helloWorld | ||
|
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
logback-examples/src/main/resources/chapters/onJoran/implicit/readme.txt
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,7 @@ | ||
|
||
This directory contains an example illustrating implicit actions. | ||
|
||
For further information, please refer to | ||
|
||
http://logback.qos.ch/manual/onJoran.html#implicit | ||
|
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
logback-examples/src/main/resources/chapters/onJoran/newRule/readme.txt
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,8 @@ | ||
|
||
This directory contains an example showing how Joran can | ||
learn new parsing rules on the fly. | ||
|
||
For further documentation please see | ||
|
||
http://logback.qos.ch/manual/onJoran.html#newRule | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.