Skip to content

CurseUpload4J debug mode logs as ERROR #12

@MattSturgeon

Description

@MattSturgeon

We use CurseUpload4J's debug mode when using --dry-run. Currently, it uses an SLF4J logger and logs to logger.error(). This leads to noisy red output locally and a lot of GHA ::error:: annotations in CI.

  • Consider adding a Slf4jAdapter hook that remaps log levels (hack)
  • Consider contributing a logLevel (slf4j Level) field upstream
  • Consider contributing a logConsumer (Consumer<String>) override upstream

The Consumer approach would also mean we don't need our Slf4jAdapter at all (and we could probably exclude upstream's log4j transitive dependency?)

cc upstream: @hypherionmc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions