trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jin <...@tower-research.com>
Subject ERROR: log: unsupported key 'name'
Date Mon, 05 Nov 2018 14:57:44 GMT
I noticed an error reported in diags.log in ats 8.0.0

[Nov  5 09:52:08.869] {0x2b3b4a96fd00} NOTE: loading logging.yaml
[Nov  5 09:52:08.871] {0x2b3b4a96fd00} ERROR: log: unsupported key 'name'
[Nov  5 09:52:08.871] {0x2b3b4a96fd00} NOTE: failed to reload logging.yaml
[Nov  5 09:52:08.873] {0x2b3b4a96fd00} NOTE: logging initialized[3],
logging_mode = 3

logging.yaml look like this:

logs:
    - filename: squid
      format: squid
      mode: binary
    - name: common
      format: '%<chi> - %<caun> [%<cqtn>] "%<cqtx>" %<pssc>
%<pscl>'

Also tried:
logs:
    - filename: squid
      format: squid
      mode: binary
    - filename: common
      format: '%<chi> - %<caun> [%<cqtn>] "%<cqtx>" %<pssc>
%<pscl>'
And got this:
[Nov  5 09:56:53.019] {0x2b3b5d860700} NOTE: loading logging.yaml
[Nov  5 09:56:53.020] {0x2b3b5d860700} ERROR: Format %<chi> - %<caun>
[%<cqtn>] "%<cqtx>" %<pssc> %<pscl> is not a known format; cannot
create
LogObject
[Nov  5 09:56:53.020] {0x2b3b5d860700} NOTE: logging.yaml done reloading!


By looking at all changes for 8.0.1-rc, I don't seem to find a related fix.
Is this a mis-configuration or a different issue?

Thanks.

Jin.





--
Sent from: http://apache-traffic-server.24303.n7.nabble.com/

Mime
View raw message