FS#79473 - [bird] Set service type=simple and add -f so logs are output to journald

Attached to Project: Arch Linux
Opened by Nigel Kukard (nkukard) - Friday, 25 August 2023, 13:07 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Could I kindly request that the type be set to simple and -f added to the bird process so the logs can be output to journald?

Additional info:
* package version(s): 2.13.1-1

Steps to reproduce:
Enable "debug all;" on any protocol and restart/reload the bird service. No logs are visible using 'journalctl -t bird' (or anywhere).

When setting type=simple and adding -f to the bird commandline parameters in the bird.service file logs are output 100%.

Kind Regards
Nigel
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:25 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/bird/issues/2
Comment by Toolybird (Toolybird) - Friday, 25 August 2023, 21:06 GMT Comment by Nigel Kukard (nkukard) - Friday, 25 August 2023, 21:34 GMT
Logging does not work out the box, but does with type=simple and -f. No config is then needed and I fail to see any downsides to this.

This would be a enhancement to the current default, especially for users wondering why something does not work and trying to figure out why there is no messages in the journal.

Yes, obviously logging options do work if you want to log to file, stderr does not work, and syslog does work. But this requires additional configuration.

All options work with the above changes.
Comment by loqs (loqs) - Friday, 25 August 2023, 21:45 GMT
> Yes, obviously logging options do work if you want to log to file, stderr does not work, and syslog does work.

The shipped bird.conf has:
# Configure logging
log syslog all;

Is that not logging everything to syslog by default including debug messages?

Loading...