https://github.com/photon/log-syslog
Syslog backend for photon
https://github.com/photon/log-syslog
Last synced: about 1 year ago
JSON representation
Syslog backend for photon
- Host: GitHub
- URL: https://github.com/photon/log-syslog
- Owner: photon
- License: lgpl-2.1
- Created: 2015-05-01T10:07:07.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-08T12:43:17.000Z (about 10 years ago)
- Last Synced: 2025-02-15T20:49:42.115Z (over 1 year ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
log-syslog
===============
[](https://travis-ci.org/photon/log-syslog)
Syslog backend for photon
Quick start
-----------
1) Add the module in your project
composer require "photon/log-syslog:dev-master"
or for a specific version
composer require "photon/log-syslog:1.0.0"
2) Add the log backend in photon configuration
'log_handlers' => array(
'\photon\log\SyslogBackend',
),
3) Configure the backend
'log_syslog' => array(
'ident' => 'MyApp',
'facility' => LOG_USER,
),
5) Enjoy !