Ive installed frontail via openhabian-config wondeing if there is a way to add another log file to frontail?
Perhaps their documentation can help. That is not an openHAB product.
I wouldn’t do that, it gets quite messy.
Better add another frontail service. Just copy the service file and adjust it. It’s located somewhere in /etc/systemd/ if I remember correctly.
Make sure you enter a different port.
You may also add a different log file in the service file. It’s quite simple.
@job nearly, it’s
But it shouldn’t be as hard to modify the existing frontail if it’s the setup from openhabian:
sudo systemctl edit frontail.service
[Service] ExecStart= ExecStart=/usr/bin/frontail --ui-highlight --ui-highlight-preset /usr/lib/node_modules/frontail/preset/openhab.json -t openhab -l 2000 -n 200 /var/log/openhab2/openhab.log /var/log/openhab2/events.log /path/to/your/file.log
Restart frontail after your edit:
sudo systemctl restart frontail.service