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

Backslashes (Windows) cause issues with rolling

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Windows

    Description

      This may be a duplicate of LBCLASSIC-56, but I wasn't sure, so I went ahead and created this issue.

      On windows, my logs failed to roll when I used a "windows-looking" absolute path when calling the rolling policy's setFileNamePattern() method. If I use forward slashes instead of backwards slashes, it works fine.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            mboyers Mike Boyers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: