-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04a5cc8
commit f6aefed
Showing
8 changed files
with
56 additions
and
0 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,33 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
</configSections> | ||
|
||
<appSettings> | ||
<!-- Can set a relative or absolute path --> | ||
<add key="ConfigurationFilePath" value="NetworkHelperConfiguration.xml" /> | ||
</appSettings> | ||
|
||
<log4net> | ||
<appender name="FileAppender" type="log4net.Appender.FileAppender"> | ||
<file value="NetworkHelperLog.txt" /> | ||
<appendToFile value="true" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date %level %message%newline" /> | ||
</layout> | ||
</appender> | ||
|
||
<appender name="EventAppender" type="NetworkHelper.Utilities.Logger+EventAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date{HH:mm:ss} %message" /> | ||
</layout> | ||
</appender> | ||
|
||
<root> | ||
<level value="ALL" /> | ||
<appender-ref ref="FileAppender" /> | ||
<appender-ref ref="EventAppender" /> | ||
</root> | ||
</log4net> | ||
</configuration> |
Binary file not shown.
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,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Vpns> | ||
<Vpn> | ||
<Name>My VPN name</Name> | ||
<DnsSuffix>some.suffix.com</DnsSuffix> | ||
<Routes> | ||
<Route> | ||
<Description>A database server</Description> | ||
<DestinationIpAddress>192.168.44.33</DestinationIpAddress> | ||
</Route> | ||
<Route> | ||
<Description>A range of workstations</Description> | ||
<DestinationIpAddress>192.168.45.0</DestinationIpAddress> | ||
<Mask>255.255.255.0</Mask> | ||
</Route> | ||
</Routes> | ||
</Vpn> | ||
</Vpns> | ||
</Configuration> |
Binary file not shown.