Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-03-07 15:07:01 +0300
committerNick Thomas <nick@gitlab.com>2018-03-07 15:07:01 +0300
commit64f6d823b4ce2656047ffca2844ef4d6cf79ec77 (patch)
tree462ff00bf05f56e04418d3d0d2cfcc59ec8fe45e /README.md
parent0b69e09383eb22a8904bfed1479800d13f7325a4 (diff)
Structured logging
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index a99f8510..b33a7ff4 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,12 @@ $ make
$ ./gitlab-pages -listen-http ":8090" -metrics-address ":9235" -pages-root path/to/gitlab/shared/pages -pages-domain example.com
```
+### Structured logging
+
+You can use the `-log-format json` option to make GitLab Pages output
+JSON-structured logs. This makes it easer to parse and search logs
+with tools such as [ELK](https://www.elastic.co/elk-stack).
+
### Cross-origin requests
GitLab Pages defaults to allowing cross-origin requests for any resource it