Add structured logging via stdlib logging module
- INFO -> stdout (journal priority info), WARNING/ERROR -> stderr (err) - no-validity-window skip for wyby users is now a WARNING (interface bug hint) - setup_logging(force=True) rebinding handlers, covered by tests - SyslogIdentifier in systemd unit; README logging section (German)
This commit is contained in:
@@ -9,6 +9,7 @@ User=apps
|
||||
Group=users
|
||||
WorkingDirectory=/home/apps/glutz-maintenances
|
||||
ExecStart=/usr/bin/python3 /home/apps/glutz-maintenances/extend_pins.py --apply
|
||||
SyslogIdentifier=glutz-maintenances
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=read-only
|
||||
|
||||
Reference in New Issue
Block a user