From 090bc50ec342242d126b204b7f8eed859384bf42 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Fri, 10 May 2019 11:45:14 +0100 Subject: [PATCH] Fix templating escaping for logging templates in docs --- docs/3_configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/3_configuration.md b/docs/3_configuration.md index a5e8b3d..b390944 100644 --- a/docs/3_configuration.md +++ b/docs/3_configuration.md @@ -149,7 +149,7 @@ If you require a different format than that, you can configure it with the `-aut The default format is configured as follows: ``` -{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}} +{% raw %}{{.Client}} - {{.Username}} [{{.Timestamp}}] [{{.Status}}] {{.Message}}{% endraw %} ``` Available variables for auth logging: @@ -177,7 +177,7 @@ If you require a different format than that, you can configure it with the `-req The default format is configured as follows: ``` -{{.Client}} - {{.Username}} [{{.Timestamp}}] {{.Host}} {{.RequestMethod}} {{.Upstream}} {{.RequestURI}} {{.Protocol}} {{.UserAgent}} {{.StatusCode}} {{.ResponseSize}} {{.RequestDuration}} +{% raw %}{{.Client}} - {{.Username}} [{{.Timestamp}}] {{.Host}} {{.RequestMethod}} {{.Upstream}} {{.RequestURI}} {{.Protocol}} {{.UserAgent}} {{.StatusCode}} {{.ResponseSize}} {{.RequestDuration}}{% endraw %} ``` Available variables for request logging: @@ -207,7 +207,7 @@ All other logging that is not covered by the above two types of logging will be If you require a different format than that, you can configure it with the `-standard-logging-format` flag. The default format is configured as follows: ``` -[{{.Timestamp}}] [{{.File}}] {{.Message}} +{% raw %}[{{.Timestamp}}] [{{.File}}] {{.Message}}{% endraw %} ``` Available variables for standard logging: