Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refusing to start with log_level: warn after update #22706

Closed
M66B opened this issue May 20, 2024 · 5 comments
Closed

Refusing to start with log_level: warn after update #22706

M66B opened this issue May 20, 2024 · 5 comments
Labels
problem Something isn't working

Comments

@M66B
Copy link

M66B commented May 20, 2024

What happened?

Does not work:

advanced:
  log_level: warn

What did you expect to happen?

Works:

advanced:
  log_level: warning

How to reproduce it (minimal and precise)

Updated to 1.37.1-dev commit: 75608c7
Don't know previous version, sorry.

Zigbee2MQTT version

1.37.1-dev commit: 75608c7

Adapter firmware version

n/a

Adapter

n/a

Setup

docker

Debug log

No response

@M66B M66B added the problem Something isn't working label May 20, 2024
@LaurentChardin
Copy link
Contributor

Hello,

You are using the dev branch and I believe this is an expected behavoir after : 2eec6a4

Basically warn is deprecated and use warning instead. I think the documentation will be updated soon.

CC @Nerivec

@M66B M66B closed this as completed May 20, 2024
@Nerivec
Copy link
Collaborator

Nerivec commented May 20, 2024

@Koenkk Looks like this is not enough for "smooth transition". Some validation happening earlier?

@M66B M66B reopened this May 20, 2024
@ytugarev
Copy link

Yep, and docs should also be upgraded when dev branch makes it to release
advanced: Optional: Logging level, options: debug, info, warn, error (default: info)

https://www.zigbee2mqtt.io/guide/configuration/logging.html

Koenkk added a commit to Koenkk/zigbee2mqtt.io that referenced this issue May 22, 2024
@Koenkk
Copy link
Owner

Koenkk commented May 22, 2024

@M66B should be fixed now, can you confirm?

Changes will be available in the dev branch in a few hours from now.

@M66B
Copy link
Author

M66B commented May 23, 2024

@Koenkk It's fine now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants