Skip to content

Seperate Audit Log file #9166

@blizzz

Description

@blizzz

Make it possible to write to a seperate audit log file, instead of the nextcloud log

Rough overview of tasks:

  • put reusable parts of \OC\Log\File to the public namespace (e.g. as trait or abstract class)
  • extend the rotate logic to accept other log files (or also move parts to public space)
  • implement an ILogger for admin_audit (perhaps having parts of \OC\Log in public space makes sense, to evaluate).
  • add appconfig options for admin_audit to override the log location (and type), defaulting to the main log file location.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions