If you face an issue when generating a report in Skedler, the support team will request you to run Skedler in debug and phantom mode and upload the log files.  


Here is how you can run Skedler manually in debug and phantom mode and collect the log files. 

Use the following command from skedler_home
          bin/skedler phantom debug

 

If you have already started Skedler manually as bin/skedler or as service sudo service skedler, then you can dynamically turn on the debug and phantom mode without restarting Skedler using the following curl command,

  • To turn ON set the variable debugMode value to true               

                   sudo curl -XPOST <skedlerURL>/loggerMode -d "debugMode=true&phantomMode=true"

  • To turn OFF set the variable debugMode value to false

                    sudo curl -XPOST <skedlerURL>/loggerMode -d "debugMode=false&phantomMode=true"



Location of the log files


You can find the log files in:

  • Skedler reports log files in skedler_home/log/ directory.  Look for skedler.log and skedler-elasticsearch.log
  • Skedler license log file /tmp/lexlog.txt (For Windows: skedler_home/bin/lexlog.txt)


Send the three log files to support@skedler.com. Alternatively, upload them to http://skedler.freshdesk.com.