Skip to content

Allow writing audit log to syslog and systemdlog - #30763

Merged
skjnldsv merged 2 commits into
masterfrom
feature/noid/allow-to-log-audit-to-syslog
Jan 25, 2022
Merged

Allow writing audit log to syslog and systemdlog#30763
skjnldsv merged 2 commits into
masterfrom
feature/noid/allow-to-log-audit-to-syslog

Conversation

@nickvergessen

@nickvergessennickvergessen commented Jan 19, 2022

Copy link
Copy Markdown
Member

In case you think we should backport this, be aware that it might change the logging, as audit currently always logs to file and with this patch it starts falling back to the normal logging which could be syslog and others.
We could also change this, but I think it would make the most sense.

Also on merge and after discussion of above issue the documentation in https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html#admin-audit-log needs a treatment

Signed-off-by: Joas Schilling <coding@schilljs.com>
Comment threadlib/private/Log/Errorlog.php
@nickvergessen
nickvergessenforce-pushed the feature/noid/allow-to-log-audit-to-syslog branch from de188b9 to b7e7b8dCompareJanuary 20, 2022 09:07
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
nickvergessenforce-pushed the feature/noid/allow-to-log-audit-to-syslog branch from b7e7b8d to 497c584CompareJanuary 20, 2022 09:08
@skjnldsv

Copy link
Copy Markdown
Member

I think I'm lacking too much knowledge to give a proper review sorry :(

@skjnldsv
skjnldsv merged commit 272f4cd into masterJan 25, 2022
@skjnldsv
skjnldsv deleted the feature/noid/allow-to-log-audit-to-syslog branch January 25, 2022 09:25
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable23

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

/backport to stable22

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

Documentation was done in nextcloud/documentation#7984

@nickvergessennickvergessen removed the pending documentation This pull request needs an associated documentation update label Nov 8, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nickvergessen@skjnldsv@blizzz