Skip to content

Stop logging to the syslog #41

@SvenGWK

Description

@SvenGWK

Hello, first of all thank you for this integration.

If this is a stupid question, I apologize in advance. I don't have much knowledge about docker...

The integration floods /var/log/syslog with this information even if debug is turned off:

A
{'alert': 'select',
 'bri': 171,
 'colormode': 'xy',
 'ct': 500,
 'mode': 'homeautomation',
 'on': False,
 'reachable': False,
 'xy': [0.599, 0.382]}
A
{'alert': 'select',
 'bri': 166,
 'colormode': 'xy',
 'ct': 500,
 'mode': 'homeautomation',
 'on': False,
 'reachable': False,
 'xy': [0.599, 0.382]}

The log file is already over 100Mb after one day.

I tried

logger:
  default: critical
  logs:
    custom_component.590f8686_diyhue-beta-branch: critical

in configuration.yaml, but without success.

The container seems to be configured for logging to the syslog, right?

docker inspect -f '{{.HostConfig.LogConfig.Type}}' addon_590f8686_diyhue-beta-branch
journald

How can I turn this off?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions