Enabling file logging for debug traces on the Sipelia Server - Sipelia 2.13

Sipelia™ User Guide 2.13

Product
Sipelia
Content type
Guides > User guides
Version
2.13
Language
English
Last updated
2023-04-11

File logging for debug traces can be enabled on the Sipelia™ Server side, the Sipelia Client side, or both. The nature of the problem to be investigated will determine if and where the debugging traces need to be enabled.

Before you begin

You need administrator privileges to be able to modify the required configuration files.

Procedure

To enable file logging for debug traces on the Server side:

  1. Stop the Sipelia Server.
  2. Go to the configuration folder for the server logs.
    It is located under the Sipelia program data folder as shown in the following example:

    C:\ProgramData\Genetec Sipelia\Logs\Server

  3. Open the file NLog.dll.nLog.
  4. On line 12, replace text A with text B:

    Text A: logger name="*" levels="Info,Warn" writeTo="RegularLogFile"

    Text B: logger name="*" levels="Trace,Debug,Info,Warn" writeTo="RegularLogFile"

  5. Save the file and restart the Sipelia Server.

To enable file logging for debug traces on the Client side:

  1. Go to the configuration folder for the client logs.
    It is located under the Sipelia program data folder as shown in the following example:

    C:\ProgramData\Genetec Sipelia\Logs\Client

  2. Open the file NLog.dll.nLog.
  3. On line 12, replace text A with text B:

    Text A: logger name="*" levels="Info,Warn" writeTo="RegularLogFile"

    Text B: logger name="*" levels="Trace,Debug,Info,Warn" writeTo="RegularLogFile"

  4. Save the file.

Results

The system will now log debugging traces in log files. The output files can be found in the following directory:

C:\ProgramData\Genetec Sipelia\Logs

IMPORTANT: To avoid filling the hard disk with unnecessary information, it is recommended to revert the changes to the original configuration as soon as the required investigation has been completed.