Skip to content

Tilde expansion doesn't properly support Windows #164

@gee4vee

Description

@gee4vee

A while back tilde expansion was added. However, on Windows this is interpreted as a literal ~ directory:

image

Example configuration:

{
  "appenders": {
    "app": { "type": "file", "filename": "~/.ibm-sb-sdk.log", "maxLogSize": "2K", "backups": 2 },
    "out": { "type": "stdout" }
  },
  "categories": {
    "default": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "info"
    },
    "parse": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "debug"
    },
    "metadata": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "debug"
    },
    "validate": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "debug"
    },
    "cache": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "debug"
    },
    "cli": {
      "appenders": [
        "app",
        "out"
      ],
      "level": "info"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions