@Vebryn opened this Issue on December 16th 2015

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.

@tsteur commented on December 16th 2015 Member

:+1: I was waiting for that since I started working with Piwik and am surprised that it is still not there :+1: :+1: :+1: definitely needed for a proper logging setup

@mattab commented on December 23rd 2015 Member

@Vebryn Thanks for the suggestion, a pull request would be very welcome :-)

Powered by GitHub Issue Mirror