Support non parsed logs

Henrik Gemal's Avatar

Henrik Gemal

10 Jan, 2014 03:49 PM

is there anyway that non parsed log files could be supported?
I have log files that sometimes contain multiple line entries and I get a error about unable to parse.

So I just wanted to display the log files without parsing them

  1. Support Staff 1 Posted by potsky on 10 Jan, 2014 03:54 PM

    potsky's Avatar

    Normally, it skips unparsable lines and the count of skipped lines should be displayed in the footer. So it seems there is a bug...

    Could you attach to this ticket :

    • your configuration file (just the file part)
    • the log file

    I will take a look...

  2. Support Staff 2 Posted by potsky on 10 Jan, 2014 07:48 PM

    potsky's Avatar

    Ok, so you would like that Pimp My Log manages this kind of logs :

    2014-01-02 21:44:05 Error id 10 was not found . dump was:
    array("test" => array(
    "dsakldak" => 1 ))
    

    It could be an option for each log file in the configuration file. Something like :

    "multiline" : true|false
    

    Pimp My Log parses the log file from bottom to top. Get a log line:

    • If this option is set to true
    • If the line is not parsed, it is kept in a buffer
    • If the next line is not parsed, it is appended to the buffer ... If the next line is parsed, the last field equals to the current line field value + the reversed buffer.

    Nice feature! I have added it in this ticket.

    Is it right from your point of view?

  3. Support Staff 3 Posted by potsky on 15 Jan, 2014 02:59 PM

    potsky's Avatar

    Henrik,

    this feature is online in version 0.9.6 !

    I have created an article for CakePHP.

    Tell me if it is ok for you!

  4. potsky closed this discussion on 15 Jul, 2014 11:13 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac