Bug 52716 - Allow notifier to log to stdout
Allow notifier to log to stdout
Status: RESOLVED DUPLICATE of bug 49868
Product: UCS
Classification: Unclassified
Component: Notifier (univention-directory-notifier)
UCS 5.0
All Linux
: P5 normal (vote)
: ---
Assigned To: Florian Best
UCS maintainers
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-28 11:39 CET by Per Macha (ext)
Modified: 2022-02-21 10:10 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (git:fbest/52716-notifier-log) (2.02 KB, patch)
2021-01-28 13:42 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Macha (ext) univentionstaff 2021-01-28 11:39:23 CET
In univention-directory-notifier.c the log-path "/var/log/univention/notifier.log" is hard-coded.
To run this tool in containers it would be useful to make this configurable.

Please add a command-line-option to write log-messages to STDOUT/STDERR.

Code-reference:
https://github.com/univention/univention-corporate-server/blob/45fd406ebfd76a0e10373ad778e23abeea5b5d2c/management/univention-directory-notifier/src/univention-directory-notifier.c#L206
Comment 1 Florian Best univentionstaff 2021-01-28 13:42:27 CET
Created attachment 10606 [details]
patch (git:fbest/52716-notifier-log)
Comment 2 Florian Best univentionstaff 2022-02-21 10:10:55 CET
git:1be96628bed2af50729b10444348c3069b70fb0f allows to pass `-FF` so that all messages are logged to `stderr`.

*** This bug has been marked as a duplicate of bug 49868 ***