SOS 5 - How to enable debug server logging

A collection of information about SourceOffSite, including solutions to common problems.

Moderator: SourceGear

Post Reply
lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

SOS 5 - How to enable debug server logging

Post by lbauer » Tue Nov 16, 2010 2:38 pm

To change logging levels for the SOS Server 5.x, you must edit the .NET application config file named "sosservice.exe.config."

It can be found in the directory where you installed your 5.x SourceOffSite Server.

To change the logging level, modify the "priority value" within the <root> section. The possible values are ALL, DEBUG, INFO, WARN, ERROR, FATAL, or OFF.

Code: Select all

<root>
      <!--<priority value="ALL | DEBUG | INFO | WARN | ERROR | FATAL | OFF" /> -->
      <priority value="ERROR" />
      <appender-ref ref="LogFileAppender" />
    </root>
The default level is ERROR . Change this to DEBUG for more detailed logging.

The SOS Server log is called log.txt and is in the SOS Server directory.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply