You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "bettydramit (JIRA)" <ji...@apache.org> on 2013/12/13 09:07:08 UTC

[jira] [Comment Edited] (TS-2363) FATAL: Log.h:342: failed assert `!"Unknown file format type!"`

    [ https://issues.apache.org/jira/browse/TS-2363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847245#comment-13847245 ] 

bettydramit edited comment on TS-2363 at 12/13/13 8:06 AM:
-----------------------------------------------------------

I have no idea to reproduce .
Appear from time to time

my logs_xml.config 

<LogFormat>
    <Name="w3c"/>
    <Format="%<cquuh> - %<caun> [%<cqtn>] \"%<cqhm> %<cquuc> %<cqhv>\" %<pssc> %<psql> \"%<{Referer}cqh>\" \"%<{user-agent}cqh>\" %<crc> %<ttmsf>"/>
</LogFormat>



<LogFilter>
    <Name="detect"/>
    <Condition="%<cqup> MATCH _detect"/>
    <Action="REJECT"/>
</LogFilter>


<LogFilter>
    <Name="log"/>
    <Condition="shn CASE_INSENSITIVE_CONTAIN ddd.com,cccc.com,aaa.com"/>
    <Action="ACCEPT"/>
</LogFilter>

<LogObject>
    <Format="w3c"/>
    <Filename="w3clog.txt"/>
    <Protocols="http"/>
    <Filters="detect,log"/>
    <CollationHosts="192.16.1.1:8085|172.16.1.1:8085"/>
</LogObject>




was (Author: bettydreamit):
I have no idea to reproduce .
Appear from time to time

my logs_xml.config 

<LogFormat>
    <Name="w3c"/>
    <Format="%<cquuh> %<<cqi>> - %<caun> [%<cqtn>] \"%<cqhm> %<cquuc> %<cqhv>\" %<pssc> %<psql> \"%<{Referer}cqh>\" \"%<{user-agent}cqh>\" %<crc> %<ttmsf>"/>
</LogFormat>



<LogFilter>
    <Name="detect"/>
    <Condition="%<cqup> MATCH _detect"/>
    <Action="REJECT"/>
</LogFilter>


<LogFilter>
    <Name="log"/>
    <Condition="shn CASE_INSENSITIVE_CONTAIN ddd.com,cccc.com,aaa.com"/>
    <Action="ACCEPT"/>
</LogFilter>

<LogObject>
    <Format="w3c"/>
    <Filename="w3clog.txt"/>
    <Protocols="http"/>
    <Filters="detect,log"/>
    <CollationHosts="192.16.1.1:8085|172.16.1.1:8085"/>
</LogObject>



> FATAL: Log.h:342: failed assert `!"Unknown file format type!"`
> --------------------------------------------------------------
>
>                 Key: TS-2363
>                 URL: https://issues.apache.org/jira/browse/TS-2363
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>            Reporter: bettydramit
>              Labels: crash
>             Fix For: 4.2.0
>
>
> {code}
> FATAL: Log.h:342: failed assert `!"Unknown file format type!"`
> /usr/bin/traffic_server - STACK TRACE:
> /usr/lib64/trafficserver/libtsutil.so.4(+0x14778)[0x2add96cb5778]
> /usr/lib64/trafficserver/libtsutil.so.4(+0x12c5f)[0x2add96cb3c5f]
> /usr/bin/traffic_server(Log::flush_thread_main(void*)+0x3d7)[0x589ee7]
> /usr/bin/traffic_server(LoggingFlushContinuation::mainEvent(int, void*)+0xd)[0x58d82d]
> /usr/bin/traffic_server(EThread::execute()+0xc90)[0x6adca0]
> /usr/bin/traffic_server[0x6ab96a]
> /lib64/libpthread.so.0(+0x7851)[0x2add988ea851]
> /lib64/libc.so.6(clone+0x6d)[0x2add998e094d]
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)