...
- The location of the the log files can vary per installation and 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. For Windows systems use%SCHEDULER_DATA%
instead of${SCHEDULER_DATA}
.
...
group | sos-members |
---|
- .
- This setting should remain unchanged. 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 thefactory.ini
file but create a SymLink pointing to the new log directory in place of the default folder specified by thelog_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 some Windows installations Administrator rights may be necessary)
- 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
- where
- 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
- where
- Start the JobScheduler Master
- Stop the JobScheduler Master (to allow the original
JobScheduler Log Files
JobScheduler Master Log Files
...