Browse Source

Suppression des logs apache

tags/pkg/staging/eole-2.7.0/0.0.1-0
Teddy Cornaut 3 months ago
parent
commit
63f013b949
1 changed files with 2 additions and 7 deletions
  1. 2
    7
      tmpl/sp-default-ssl.conf

+ 2
- 7
tmpl/sp-default-ssl.conf View File

@@ -5,13 +5,8 @@
5 5
 
6 6
     DocumentRoot /var/www/html
7 7
 
8
-%if %%getVar("activer_envoi_logs","non") == "oui"
9
-    ErrorLog syslog
10
-    CustomLog "||/usr/bin/logger -t apache2 -i -p local6.info" combined
11
-%else
12
-    ErrorLog ${APACHE_LOG_DIR}/error.log
13
-    CustomLog ${APACHE_LOG_DIR}/access.log combined
14
-%end if
8
+    ErrorLog /dev/null
9
+    CustomLog /dev/null common
15 10
 
16 11
     ErrorDocument 400 /error/
17 12
     ErrorDocument 401 /error/

Loading…
Cancel
Save