-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #20: Replace Log4j with Log4j2 - Update Maven dependencies - Migrate log4j.properties to log4j2.xml Fixes #21: Correct default configuration file processing - Use qualified 'file:' URL for finding resource Additional updates: - Reorder config schema elements - v4 before v6 - Add Logging section to user guide - Update release notes
- Loading branch information
agrabil
committed
Sep 29, 2020
1 parent
8f60332
commit 844b2a3
Showing
30 changed files
with
751 additions
and
752 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
29 changes: 29 additions & 0 deletions
29
Jagornet-DHCP/dhcp-client/src/main/resources/log4j2-testclient.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,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Configuration status is for Log4j2 internal status logging --> | ||
<Configuration status="WARN"> | ||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout pattern="%d{ABSOLUTE} (%x)[%t] %-5p %c{1} - %m%n"/> | ||
</Console> | ||
<RollingFile name="Logfile" | ||
fileName="log/testclient.log" | ||
filePattern="log/testclient-%i.log"> | ||
<PatternLayout> | ||
<Pattern>%d [%t] %-5p %c{2} - %m%n</Pattern> | ||
</PatternLayout> | ||
<DefaultRolloverStrategy max="10"/> | ||
<Policies> | ||
<SizeBasedTriggeringPolicy size="10 MB"/> | ||
</Policies> | ||
</RollingFile> | ||
</Appenders> | ||
<Loggers> | ||
<Root level="INFO"> | ||
<AppenderRef ref="Console" level="INFO"/> | ||
<AppenderRef ref="Logfile" level="DEBUG"/> | ||
</Root> | ||
<Logger name="com.jagornet" level="DEBUG"> | ||
<!-- Inherit appenders from root logger --> | ||
</Logger> | ||
</Loggers> | ||
</Configuration> |
34 changes: 0 additions & 34 deletions
34
Jagornet-DHCP/dhcp-client/src/main/resources/testclient_log4j.properties
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/target/ | ||
/dist/ | ||
/log/ | ||
/db/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<ns2:dhcpServerConfig xmlns:ns2="http://jagornet.com/dhcp/xml"> | ||
<v6ServerIdOption> | ||
<opaqueData> | ||
<hexValue>000100015F4BB4E2CA268E9E606F</hexValue> | ||
</opaqueData> | ||
</v6ServerIdOption> | ||
<v4ServerIdOption> | ||
<ipAddress>127.0.0.1</ipAddress> | ||
</v4ServerIdOption> | ||
<v4ServerIdOption/> | ||
<v6ServerIdOption/> | ||
</ns2:dhcpServerConfig> |
Oops, something went wrong.