Created
August 30, 2013 05:29
-
-
Save sunaoka/6386578 to your computer and use it in GitHub Desktop.
PHP で error_log = syslog した時の rsyslog の設定ファイル (/etc/rsyslog.d/php.conf)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Umask 0000 | |
$RepeatedMsgReduction off | |
$FileCreateMode 0644 | |
$template php_log,"/var/log/php.log" | |
if ($syslogfacility-text == 'user') and \ | |
(($programname == 'httpd') or ($programname == 'php')) then \ | |
-?php_log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment