Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-707

Improve ability to parse vcld.log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4
    • vcld (backend)
    • None

    Description

      The lines in vcld.log are deliminated by a '|' pipe character. This makes is easy to split up the lines with grep or when imported into a spreadsheed. There are some problems with the current vcld.log output which causes fields to not appear in the same column in excel if you do a Text to Columns with the '|' deliminator.

      For multiline messages, the date and calling sub are only written to the first line to reduce the log size:

      2013-06-06 13:03:58|24316|2375:3115|test|utils.pm:mysub(4500)|:first line

      24316 2375:3115 test : 2nd line

      When split up in Excel, the '2nd line' text will be placed under the 'utils.pm' field becuase there is an extra '|' deliminator in the first line.

      If you try to analyze the occurances of lines generated by a particular subroutine, you have to take an extra step of ignoring the line number. It would be helpful if the line number were deliminated by '|'.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: