Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
88 lines (74 sloc) 2.72 KB
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>
<appSettings/>
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="DotNetClient.log" />
<appendToFile value="true" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="100MB" />
<rollingStyle value="Size" />
<staticLogFileName value="true" />
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" />
</layout>
</appender>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%ndc] &lt;%property{auth}&gt; - %message%newline" />
</layout>
</appender>
<!--
Loggers for Lightstreamer .NET Client Library.
General rules:
- Exceptions thrown to the caller are not logged.
- Exceptions asynchronously notified to the client are logged at ERROR level.
- all tracing is done at INFO and DEBUG levels.
- Full exception stack traces are logged at DEBUG level.
- Pushing activity from Lightstreamer Server is also logged at DEBUG level.
-->
<logger name="com.lightstreamer.ls_client">
<level value="WARN" />
<appender-ref ref="RollingLogFileAppender" />
</logger>
<!--
Logs socket activity on Lightstreamer Server connections.
At INFO level, socket operations are logged.
At DEBUG level, read/write data exchange is logged.
-->
<logger name="com.lightstreamer.ls_client.stream">
<level value="WARN" />
</logger>
<!--
Logs requests to Lightstreamer Server and Server answers.
At INFO level, requests are logged.
At DEBUG level, request details and events from the Server are logged.
-->
<logger name="com.lightstreamer.ls_client.protocol">
<level value="WARN" />
</logger>
<!--
Logs Server Session lifecycle events.
At INFO level, lifecycle events are logged.
At DEBUG level, lifecycle error details are logged.
-->
<logger name="com.lightstreamer.ls_client.session">
<level value="WARN" />
</logger>
<!--
Logs subscription requests received by the clients and the related updates.
At WARN level, alert events from the Server are logged.
At INFO level, subscriptions and unsubscriptions are logged.
At DEBUG level, requests batching and update details are logged.
-->
<logger name="com.lightstreamer.ls_client.actions">
<level value="WARN" />
</logger>
<root>
</root>
</log4net>
</configuration>
You can’t perform that action at this time.