Go to content

Go to employees

Go to search

Enable debugging in EPiServer Scheduler

Have you ever wanted the Scheduler to log to a file for debugging purposes? Here is a way for enabling it.

Tore Gjerdrum
 

We had a problem with the EPiServer Scheduler and we wanted to enable logging for it. Here is a step by step procedure for how to do this. 

Go to local services:

Local services

 

Find the EPiServer Scheduler Service in the list, right click and select Properties:

Servies overview

 

Stop the service, set the Start parameters to the following: SVCDEBUG path_to_log_file, then start the service again:

Servie properties

 

Then go to the path you entered(it must be a folder that exits on the server). There you will see the log file.

explorer

 

The log file will look like this:

Output

A big thanks to Steve Celius for showing us how this could be done!


Comments:

  1. Seems like this gives the exact same result: - Create a file, log4net.config, place it in the same folder as the service. <?xml version="1.0" encoding="utf-8" ?> <log4net> <appender name="ErrorAppender" type="log4net.Appender.FileAppender" > <file value="Logs/LogServerError.log" /> <appendToFile value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%d [%t] %l - %m%n" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="ErrorAppender" /> </root> </log4net>
Post a comment