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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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