[ 
https://issues.apache.org/jira/browse/TS-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Carlin updated TS-2375:
-----------------------------

    Assignee: Leif Hedstrom

> Error when using ascii logging format: There are more field markers than 
> fields
> -------------------------------------------------------------------------------
>
>                 Key: TS-2375
>                 URL: https://issues.apache.org/jira/browse/TS-2375
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 4.0.2, 4.1.1
>            Reporter: David Carlin
>            Assignee: Leif Hedstrom
>             Fix For: 4.2.0
>
>
> I noticed the following on an ats 4.0.2 host in diags.log:
> [Nov 20 15:08:29.627] Server {0x2b732fe9c700} NOTE: There are more field 
> markers than fields; cannot process log entry
> It only happens about every fifth time you start ATS.  That message will fill 
> diags.log and nothing is written to squid.log
> I then upgraded to 4.1.1 as a test, and the same thing happened on there was 
> additional error information:
> [Nov 20 15:40:53.656] Server {0x2b568aac8700} NOTE: There are more field 
> markers than fields; cannot process log entry
> [Nov 20 15:40:53.656] Server {0x2b568aac8700} ERROR: Failed to convert 
> LogBuffer to ascii, have dropped (232) bytes.
> The convert to ascii message tipped me off that this could be the source of 
> the problem.  Up until now we've been using the binary log format, so perhaps 
> why I didn't run into this in the past.  I then changed the log format back 
> to binary, and I was unable to reproduce the issue - so it seems related to 
> ascii logging.
> Here is our logs_xml.config:
> {noformat}
> <LogFormat>
>   <Name = "ats_generic_config"/>
>   <Format = "%<cqtq> %<ttms> %<chi> %<crc> %<pssc> %<psql> %<cqhm> %<cquc> 
> %<caun> %<phr>/%<pqsn> %<psct> %<cquuc> f1 f2 f3 f4"/>
> </LogFormat>
> <LogObject>
>     <Format = "ats_generic_config"/>
>     <Filename = "squid"/>
>     <Mode = "ascii"/>
> </LogObject>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to