You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed there is inconsistency between fields extracted into JSON and what's tagged onto the end in common_log, for example, in the "JSON-native" section there is no:
duration
size
status
Divisor element of Content-Range
Content-Length
Content-Type
The reason for this inconsistency unclear, with no mention of it in the docs.
Indeed, many examples in the docs (https://caddyserver.com/docs/caddyfile/directives/log) have common_log delete in them, which puts people under the unsafe assumption that everything potentially useful from common_log is already parsed into JSON when it is not.
The docs also make no mention as to whether it is possible to add extra fields to the standard json output and how this might be done ? e.g. no "standard json output plus these extra fields from common_log " configuration option.
The text was updated successfully, but these errors were encountered:
Thanks for the issue, but going to close as it seems based on a false premise. We can reopen it if there was just a misunderstanding though and there really is a bug or problem here.
I noticed there is inconsistency between fields extracted into JSON and what's tagged onto the end in
common_log
, for example, in the "JSON-native" section there is no:duration
size
status
Content-Range
Content-Length
Content-Type
The reason for this inconsistency unclear, with no mention of it in the docs.
Indeed, many examples in the docs (https://caddyserver.com/docs/caddyfile/directives/log) have
common_log delete
in them, which puts people under the unsafe assumption that everything potentially useful fromcommon_log
is already parsed into JSON when it is not.The docs also make no mention as to whether it is possible to add extra fields to the standard json output and how this might be done ? e.g. no "standard json output plus these extra fields from
common_log
" configuration option.The text was updated successfully, but these errors were encountered: