1 |
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/02php smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/02php |
2 |
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/02php 1969-12-31 19:00:00.000000000 -0500 |
3 |
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/02php 2020-03-09 12:34:06.626000000 -0400 |
4 |
@@ -0,0 +1,19 @@ |
5 |
+#php logging |
6 |
+ |
7 |
+:programname, isequal, "php" /var/log/php/php/error.log |
8 |
+:programname, isequal, "php" ~ |
9 |
+:programname, startswith, "php-fpm" /var/log/php/php/php-fpm.log |
10 |
+:programname, startswith, "php-fpm" ~ |
11 |
+:programname, startswith, "php56-fpm" /var/log/php/php56/php56-fpm.log |
12 |
+:programname, startswith, "php56-fpm" ~ |
13 |
+:programname, startswith, "php70-fpm" /var/log/php/php70/php70-fpm.log |
14 |
+:programname, startswith, "php70-fpm" ~ |
15 |
+:programname, startswith, "php71-fpm" /var/log/php/php71/php71-fpm.log |
16 |
+:programname, startswith, "php71-fpm" ~ |
17 |
+:programname, startswith, "php72-fpm" /var/log/php/php72/php72-fpm.log |
18 |
+:programname, startswith, "php72-fpm" ~ |
19 |
+:programname, startswith, "php73-fpm" /var/log/php/php73/php73-fpm.log |
20 |
+:programname, startswith, "php73-fpm" ~ |
21 |
+:programname, startswith, "php74-fpm" /var/log/php/php74/php74-fpm.log |
22 |
+:programname, startswith, "php74-fpm" ~ |
23 |
+ |