diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-03-07 15:07:01 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-03-07 15:07:01 +0300 |
commit | 64f6d823b4ce2656047ffca2844ef4d6cf79ec77 (patch) | |
tree | 462ff00bf05f56e04418d3d0d2cfcc59ec8fe45e /README.md | |
parent | 0b69e09383eb22a8904bfed1479800d13f7325a4 (diff) |
Structured logging
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 |