Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-413

SysLog Appender and Line Breaks = :(

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-classic
    • None
    • Debian 4 Etch, 64 Bit (most likely all enviroments)

    Description

      I'm using the SysLog appender and it works well.

      But I've problems with line breaks, especially for exceptions. Every strack trace line is written as new SysLog-Entry. Example:

      Aug 11 20:25:21 192.168.33.11 app2-cas org.osgi.framework.BundleException: The bundle class path entry "patch.jar"..."
      Aug 11 20:25:21 192.168.33.11 app2-cas ^Iat org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassPathEntry(ClasspathManager.java:168)
      Aug 11 20:25:21 192.168.33.11 app2-cas ^Iat org.eclipse.osgi.baseadaptor.loader.ClasspathManager.buildClasspath(ClasspathManager.java:145)
      Aug 11 20:25:21 192.168.33.11 app2-cas ^Iat org.eclipse.osgi.baseadaptor.loader.ClasspathManager.initialize(ClasspathManager.java:79)
      ...

      That's quire annoying if you want to filter or highlight entries.

      I think it's major, because there isn't a good workaround to filter/highlight syslog files.
      I'm using Logback 0.9.13, but I thinks it still exists in the trunk.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            res1st Ingo Siebert
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: