« Previous Next »

Thread: Logparser limiation with Textline, Unicode and CheckPoint

Last post 01-23-2009 10:07 PM by samwilli. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 05-23-2007, 2:35 AM

    Logparser limiation with Textline, Unicode and CheckPoint

    Hello,

    I have a LogParser query which I run across an ASCII and UNICODE file (2 files in total).  Unicode file has FF FE for the first characters when viewed in HEX dump.

    LogParser.exe "select EXTRACT_FILENAME(LogFileName), text FROM 'C:\*.log' where text like '%%Job Successful%%'" -i:TextLine -oataGrid

    I get 2 results returned which is as expected.  When I run the same query with a CheckPoint file I only get the ASCII record returned. 

    LogParser.exe "select EXTRACT_FILENAME(LogFileName), text FROM 'C:\*.log' where text like '%%Job Successful%%'" -i:TextLine -oataGrid -iCheckPoint:"C:\checkpoint.chk"

    Is there a limitation with LogParser, Unicode and CheckPoint files?

    Thanks
    Glenn

  • 01-23-2009, 10:07 PM In reply to

    • samwilli
    • Not Ranked
    • Joined on 10-09-2008, 10:06 PM
    • Posts 3

    Re: Logparser limiation with Textline, Unicode and CheckPoint

    You've probably already figured this out, however, for other people who come across this post, I found today that adding the parameter "-iCheckPoint:-1" fixed this problem for me.

Page 1 of 1 (2 items)
Microsoft Communities