java.lang.IllegalStateException: /path/to/log/dir/2010/2010_12/2010_12_08/file.log should not have existing parent directory

QOS.ch JIRA | Mats Henrikson | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      /path/to/log/dir/2010/2010_12/2010_12_08/file.log should not have existing parent directory

      at ch.qos.logback.core.util.FileUtil.createMissingParentDirectories()
    2. Logback Core Module
      FileAppender.start
      1. ch.qos.logback.core.util.FileUtil.createMissingParentDirectories(FileUtil.java:43)[logback-core-0.9.26.jar:na]
      2. ch.qos.logback.core.FileAppender.openFile(FileAppender.java:156)[logback-core-0.9.26.jar:na]
      3. ch.qos.logback.core.FileAppender.start(FileAppender.java:115)[logback-core-0.9.26.jar:na]
      3 frames