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

Backslashes (Windows) cause issues with rolling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: