diff options
author | Nick Thomas <nick@gitlab.com> | 2018-03-07 15:07:01 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-03-07 15:07:01 +0300 |
commit | 1ae4901c7ea49c4eec8cc26d68ad85c5c8719454 (patch) | |
tree | 462ff00bf05f56e04418d3d0d2cfcc59ec8fe45e /README.md | |
parent | 0b69e09383eb22a8904bfed1479800d13f7325a4 (diff) | |
parent | 64f6d823b4ce2656047ffca2844ef4d6cf79ec77 (diff) |
Merge branch 'structured-logging' into 'master'
Structured logging
See merge request gitlab-org/gitlab-pages!56
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |