In your first example, why do you have a '-' in front of 'name'? In the second one you have to define a "log object" which you can then refer to by name.
On Mon, Nov 5, 2018 at 8:57 AM Jin <j...@tower-research.com> wrote: > 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/ > -- *Beware the fisherman who's casting out his line in to a dried up riverbed.* *Oh don't try to tell him 'cause he won't believe. Throw some bread to the ducks instead.* *It's easier that way. *- Genesis : Duke : VI 25-28