question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Add method to update Driver logConfig

See original GitHub issue

Is your feature request related to a problem? Please describe. As far as I can tell, the only way to change the log level is to restart the driver which triggers a re-interview of all nodes. It appears that many Home Assistant users are changing log levels often to help troubleshoot integration issues or device specific issues. It would be great if we could update the log level without restarting the driver so we didn’t have to trigger a re-interview

Describe the solution you’d like Add a method to the Driver class that can update the logConfig, particularly level, while the Driver is running and without having to destroy and recreate it.

Describe alternatives you’ve considered None at this time

Additional context Add any other context or screenshots about the feature request here. If you want to propose an API, share your thoughts how it could be used (syntax).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
AlCalzonecommented, Feb 11, 2021

We had that at the start but seem to have removed it when refactoring to log containers and logger instances

1reaction
AlCalzonecommented, Feb 10, 2021

I think we need a method on the driver to update the config for all loggers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request… Add in a script to check for device driver ...
Feature request … Add in a script to check for device driver update from MS. This would be great to just add in...
Read more >
Handle other log drivers · Issue #1425 · portainer ...
I think we can retrieve info in HostConfig.LogConfig.Type of container. And same for swarm services. In my test case, I got something like...
Read more >
Configure logging drivers
To update the logging driver for a container, the container has to be re-created with the desired options. Refer to the configure the...
Read more >
INF Validation Errors and Warnings - Windows drivers
Driver installation errors and warnings can appear as a result of the automatic INF verification that Microsoft Visual Studio performs.
Read more >
LogConfiguration - Amazon Elastic Container Service
The log configuration for the container. This parameter maps to LogConfig in the Create a container section of the Docker Remote API and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found