]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
doc: server configuration: remove apache logging options
authornodiscc <nodiscc@gmail.com>
Sat, 15 Aug 2020 17:39:28 +0000 (19:39 +0200)
committernodiscc <nodiscc@gmail.com>
Sat, 12 Sep 2020 12:31:45 +0000 (14:31 +0200)
see https://github.com/nodiscc/xsrv/blob/master/roles/apache/templates/etc_apache2_conf-available_logging.conf.j2 for an example server-wide logging configuration

doc/md/Server-configuration.md

index 4164980bb13e2dc030202bbe9cec48398767ac99..2ee15ef69ea944fed1415f5210f64384a6ffa520 100644 (file)
@@ -122,12 +122,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
     ServerName shaarli.mydomain.org
     DocumentRoot /var/www/shaarli.mydomain.org/
 
-    # Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
-    LogLevel  warn
-    # Log file locations
-    ErrorLog /var/log/apache2/error.log
-    CustomLog /var/log/apache2/access.log combined
-
     # Redirect HTTP requests to HTTPS
     RewriteEngine on
     RewriteRule ^.well-known/acme-challenge/ - [L]
@@ -140,12 +134,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
     ServerName   shaarli.mydomain.org
     DocumentRoot /var/www/shaarli.mydomain.org/
 
-    # Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
-    LogLevel  warn
-    # Log file locations
-    ErrorLog  /var/log/apache2/error.log
-    CustomLog /var/log/apache2/access.log combined
-
     # SSL/TLS configuration (for Let's Encrypt certificates)
     SSLEngine             on
     SSLCertificateFile    /etc/letsencrypt/live/shaarli.mydomain.org/fullchain.pem