Skip to content

Fix warnings on log level variables on running sbt test command #91

@vikrantpuppala

Description

@vikrantpuppala

Describe the bug

Whenever build/sbt test command is run, the warnings below are printed to the console.

[warn] there are 3 keys that are not used by any other settings/tasks:
[warn]  
[warn] * cli / Compile / logLevel
[warn]   +- /home/runner/work/unitycatalog/unitycatalog/build.sbt:206
[warn] * client / Compile / logLevel
[warn]   +- /home/runner/work/unitycatalog/unitycatalog/build.sbt:24
[warn] * server / Compile / logLevel
[warn]   +- /home/runner/work/unitycatalog/unitycatalog/build.sbt:24
[warn]  
[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key

To Reproduce

Steps to reproduce the behavior:

Run build/sbt test

Expected behavior

Analyse root cause and fix the warnings

System [please complete the following information]:

  • OS: MacOS Sonoma 14.4.1

Additional context

The same warning in a github workflow: https://github.com/unitycatalog/unitycatalog/actions/runs/9659905676/job/26644280987?pr=89#step:4:13

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions