Setting up log server - MFuglsang/Q-ETL GitHub Wiki

installation

To enable remote access to logs, it is possible to configure a logfile server from Q-ETL. This makes it possible to access job logs from remote locations, to verify that jobs have run and completed without logging onto the server.

Configuration

The configuration of the logserver is in the server folder



To set up the server, make a compy of the template file, and call it server.cmd\



It requires two elements: The path to python.exe - located in the QGIS install folder and the full path to the server.py file.\ When this file is created, you are ready to install the server.

Navigate to the server\bin folder:



Run install_service.cmd to install the windows service:



The system will prompt for elevation, the install needs administrative privileges to run. If all goes well, the message will tell you that the service is installed. Now you can open Windows services, to locate the new service:



The first time, the service must be started manually. Set startup to automatic, and it will start up with Windows after restart. It is preferred to have a service account for running the service. It must have 'log on as service' privileges.

When the server is running, the server can be accessed on localhost:3000. There you will see the contents of the log directory. If you click on a log file, it will be displayed for you.



Troubleshooting

If you have problems starting the service, the configuration is wrong. It is a cmd file that runs the service - if you have spaces in your paths, put "" around the elements.

⚠️ **GitHub.com Fallback** ⚠️