|
Adjust the service log level as requiredThere are are 6 logging levels:
The services below write to the logging database. This can be changed by going to each service configuration file location at:
The services below are not writing to the logging database (their logging level can only be adjusted to writing data to logfiles). C:\Program Files\SDL\SDL Server\BCM Service\NLog.config C:\Program Files\SDL\SDL Server\Logging Service\nlog.config To adjust the logging level for the database you need to adjust the following line
<logger minLevel="Warn" writeTo="database" />
To adjust the granularity of the information which is written in the log files adjust the following line <logger minLevel="Warn" writeTo="logFile" /> Where 'Warn' = Logging level. For example, you want to change the logging for TM Service Agent service to 'Debug': Open the Sdl.TMService.Agent.exe.config located in C:\Program Files\SDL\SDL Server\TMService\ in a text/xml editor and change the following line: <logger minLevel="Warn" writeTo="logFile" /> To <logger minLevel="Debug" writeTo="logFile" /> Make sure you make the change for the line where it specifies writeTo="logFile", as you have the same line that writes to "coloredConsole" just above it. The same procedure can be applied for writing into the database, however the line that needs to be adjusted contains writeTo="database" Restart the service for which you have modified the logging level in order to apply the setting. |
You require more information about occurring problems and the current log files do not contain enough information and therefore the logging level should be set to a level which includes all information about the interactions on application level. Therefore setting the log level to i.e. 'Debug' is needed. Alternatively you notice that to much information is written into the database and the database size increases dramatically and it needs to be readjusted to reduce the amount or level of data logged. |