How can we setup our log files to be written to a database ?
Starting with release 1.7 JobScheduler requires a database, see JS-1143 - Roles for JobScheduler Released
JobScheduler writes log files to the database for which a connection is configured with the
./config/factory.ini file. This includes logs for tasks and orders, see log file documentation.
Settings in the
./config/factory.ini file include:
This examples specifies logs to be stored in blob columns of the database in a gzip format, for a complete list of settings see the factory.ini reference documentation. Both the JobScheduler Operations Center (JOC) web interface and the JobScheduler Information Dashboard (JID) allow to retrieve the job history and to display log file content. You can remove the log files from disk and keep them in the database.