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:
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