Skip to content

[coverage] Conformance findings: LOGGING-002 #1622

Description

@peco-engineer-bot

Summary

Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-jdbc. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-jdbc) is fixed, then flips green as a tripwire.

Findings

  • LOGGING-002 [thrift, sea]: LogPath is always resolved as a directory (JulLogger.getLogPattern does Files.createDirectories then resolves databricks_jdbc.log inside), so a caller-supplied log FILE path is silently created as a directory instead of being written verbatim
    • failing test: testDirectoryLogDestinationResolvesToALogFileInsideIt (see the coverage PR diff under tests/)
  • LOGGING-002: LogPath is always resolved as a directory (JulLogger.getLogPattern does Files.createDirectories then resolves databricks_jdbc.log inside), so a caller-supplied log FILE path is silently created as a directory and logs land at <path>/databricks_jdbc.log instead of being written verbatim

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions