Manually Enable Smart Client Logging:
<!-- ServiceChannel log
<Logger name="ServiceChannelClient">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\ServiceChanneLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10" />
</Logger>-->
<Logger name="ClientLogger">
<!--<Appender type="File" level="debug" filename="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLog.txt" archive="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10"></Appender>-->
<!--<Appender type="Console" level="debug"></Appender>-->
</Logger>
<Logger name="MIPLogger">
<!--<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\MIPLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\MIPLogs\" maxsize="10"></Appender>-->
<!--<Appender type="Console" level="debug"></Appender>-->
</Logger>
Change this to:
<ServiceChannel log
<Logger name="ServiceChannelClient">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect
Smart Client\ServiceChanneLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10" />
</Logger>
<Logger name="ClientLogger">
<Appender type="File" level="debug" filename="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLog.txt" archive="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10"></Appender>
<Appender type="Console" level="debug"></Appender>
</Logger>
<Logger name="MIPLogger">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\MIPLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\MIPLogs\" maxsize="10"></Appender>
<Appender type="Console" level="debug"></Appender>
</Logger>
- Go to C:\Program Files\Milestone\XProtect Smart Client\client.exe.config and make the following changes to enable logging manually:
Under WCF logging remove the <!-- and the -->.
Under <VideoOS.Diagnostics.Logging>, find this section:
<!-- ServiceChannel log
<Logger name="ServiceChannelClient">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\ServiceChanneLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10" />
</Logger>-->
<Logger name="ClientLogger">
<!--<Appender type="File" level="debug" filename="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLog.txt" archive="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10"></Appender>-->
<!--<Appender type="Console" level="debug"></Appender>-->
</Logger>
<Logger name="MIPLogger">
<!--<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\MIPLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\MIPLogs\" maxsize="10"></Appender>-->
<!--<Appender type="Console" level="debug"></Appender>-->
</Logger>
Change this to:
<ServiceChannel log
<Logger name="ServiceChannelClient">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect
Smart Client\ServiceChanneLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10" />
</Logger>
<Logger name="ClientLogger">
<Appender type="File" level="debug" filename="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLog.txt" archive="%ALLUSERSPROFILE%\Milestone\XProtect Smart Client\ClientLogs\" maxsize="10"></Appender>
<Appender type="Console" level="debug"></Appender>
</Logger>
<Logger name="MIPLogger">
<Appender type="File" level="debug" filename="c:\ProgramData\Milestone\XProtect Smart Client\MIPLog.txt" archive="c:\ProgramData\Milestone\XProtect Smart Client\MIPLogs\" maxsize="10"></Appender>
<Appender type="Console" level="debug"></Appender>
</Logger>
Add a comment
Please log in or register to submit a comment.