Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

...

  • The location of the the log files is specified by the log_dir parameter in the ${SCHEDULER_DATA}/config/factory.ini file where ${SCHEDULER_DATA} is the JobScheduler data directory that has been specified during installation. The default location is the ${SCHEDULER_DATA}/logs folder. This setting should remain unchanged otherwise JOC Cockpit doesn't find the logs. If another directory is desired, then a symlink should be created (see next chapter).

Custom Log File Location

  • Administrators are free to specify an alternative location for the JobScheduler log files. In this situation, to ensure that the JOC Cockpit is able to find the alternative log file location, we recommend that administrators do not change the log_dir parameter in the factory.ini file but create a SymLink pointing to the new log directory in place of the default folder specified by the log_dir parameter. The JOC cockpit will then look at the default log file location and follow the SymLink to the new location.
  • To Configure a Custom Log File location:
    • Stop the JobScheduler Master (to allow the original logs folder to be moved/deleted/renamed)
    • Move/delete/rename the original logs folder
    • On Window: Open a command prompt window (with elevated Administrator rights)
      • Navigate to the current location of the logs folder
      • Enter: mklink /D logs Target
        • where Target is the new name/location (absolute or relative) of the logs directory
    • On Linux: Open a shell
      • Navigate to the current location of the logs folder
      • Enter: ln -s "Target" logs
        • where Target is the new name/location (absolute or relative) of the logs directory
    • Start the JobScheduler Master

...


JobScheduler Log Files

JobScheduler Master Log Files

No.Log TypeLog File Name Pattern
1Debug Logscheduler.log
2Main Logscheduler-<yyyy-mm-dd-hhmmss>.<scheduler-id>.log
3Job Logjob.<job_chain_name>,<job_name>.log
4Task Logtask.<job_chain_location>,<job_chain_name>,<job_name>.log
5Order Logorder.<job_chain_location>,<job_chain_name>,<order_id>.log
6Installation LogInstall_V<release_number>_<yyyymmddhhmmss>_<timestamp>.log
7Engine Logscheduler_engine.log
8Output Stream Logscheduler.out
9Web Server Loghttp.log
10Web Service Logweb_service,<web_service_name>.<request_number>.log

JobScheduler Agent Log Files

No.Log TypeLog File Name Pattern
1Agent Main Logjobscheduler_agent_<port>.log
2Agent Task Log

task-<agentTaskID>-stdout.log

task-<agentTaskID>-stderr.log

Feature Availability - features introduced with release 1.10

...

The central Log Level settings will be applied to all the JobScheduler objects, e.g. jobs, job chains, orders etc.

 


Info

The higher Log Level will lead to large size of Main Log and Debug Log, and also will require more database storage to save JobScheduler Order Logs and Task Logs

...

Children Display
alltrue
pageHow To - Logging