Is there a way to customize the access and errors logging formats? In particular, it would be nice to use a more standard timestamp format. If not, is there some Python code available for parsing the logs?
There is no way to customize the logging. What format are you looking for?
python-lib389 that ships with DS has some logging classes. See https://github.com/389ds/389-ds-base/blob/main/src/lib389/lib389/dirsrv_log....
HTH,
Mark
On 8/26/22 4:08 PM, tdarby@arizona.edu wrote:
Is there a way to customize the access and errors logging formats? In particular, it would be nice to use a more standard timestamp format. If not, is there some Python code available for parsing the logs? _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
https://www.ietf.org/rfc/rfc3339.txt Something like 2022-06-16T13:56:05.344374, for example
Thanks for the code reference.
389-users@lists.fedoraproject.org