浏览代码

docs(): added router_logging to configuration options, closes #7723

Torkel Ödegaard 8 年之前
父节点
当前提交
6af62abd41
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      docs/sources/installation/configuration.md

+ 7 - 3
docs/sources/installation/configuration.md

@@ -135,6 +135,10 @@ Path to the certificate file (if `protocol` is set to `https`).
 
 Path to the certificate key file (if `protocol` is set to `https`).
 
+### router_logging
+
+Set to true for Grafana to log all HTTP requests (not just errors). These are logged as Info level events
+to grafana log.
 <hr />
 
 <hr />
@@ -472,7 +476,7 @@ Mysql Example:
         `expiry`    INT(11) UNSIGNED NOT NULL,
         PRIMARY KEY (`key`)
     ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-    
+
 Postgres Example:
 
     CREATE TABLE session (
@@ -481,7 +485,7 @@ Postgres Example:
         expiry    INTEGER NOT NULL,
         PRIMARY KEY (key)
     );
-    
+
 Postgres valid `sslmode` are `disable`, `require` (default), `verify-ca`, and `verify-full`.
 
 ### cookie_name
@@ -613,7 +617,7 @@ You can choose between (s3, webdav). If left empty Grafana will ignore the uploa
 ## [external_image_storage.s3]
 
 ### bucket_url
-Bucket URL for S3. AWS region can be specified within URL or defaults to 'us-east-1', e.g. 
+Bucket URL for S3. AWS region can be specified within URL or defaults to 'us-east-1', e.g.
 - http://grafana.s3.amazonaws.com/
 - https://grafana.s3-ap-southeast-2.amazonaws.com/
 - https://grafana.s3-cn-north-1.amazonaws.com.cn