Skip to content

Matomo application logs can now be written in syslog #9400

@Vebryn

Description

@Vebryn

Hello,

log_writers currently supports screen, database and file.

syslog allows more flexibility in log management. Unix and Linux based distributions manage system logs and applications logs with rsyslog or syslog-ng component. Rsyslog manages and stores logs. It enhances security by centraling log management.

Pros :

  • No more file rotation needed
  • No more database log table purge
  • No more logs into web application dir
  • Centralized log management

Is it possible to add syslog log_writer ?

Configuration implementation example :
[log]
log_writers[] = syslog

Code implementation example :
http://php.net/manual/fr/function.syslog.php

Thank you,

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions