Logs
systemg’s internal operational logs, separate from service output.What’s logged
- Service lifecycle (start, stop, restart, crash)
- Cron job execution
- Configuration changes
- Supervisor events
Location
~/.local/share/systemg/logs/supervisor.log (user mode)
/var/log/systemg/supervisor.log (system mode)
View logs
Log levels
Set verbosity when starting:trace (5), debug (4), info (3), warn (2), error (1), off (0)
Log format
[TIMESTAMP] [LEVEL] [MODULE]: [MESSAGE]
Common messages
Service events
Cron events
Supervisor events
Log rotation
Using logrotate
Create/etc/logrotate.d/systemg:
Manual rotation
Troubleshooting
Log file missing- Check systemg has started
- Verify directory exists
- Try
--log-level debug - Check services are running
- Implement rotation
- Reduce log level