Home assistant fill logs

Deborah3 years ago

Hi, I have connected Traccar with home assistant. Only since then I noticed that a lot of lines are generated in the logs! (see log below)

Is it possible to exclude this from the logs?

Thanks

2021-09-29 00:01:26  INFO: user: 1, report: events, from: 2021-09-29 00:00, to: 2021-09-29 00:01, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:01:56  INFO: user: 1, report: events, from: 2021-09-29 00:01, to: 2021-09-29 00:01, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:02:26  INFO: user: 1, report: events, from: 2021-09-29 00:01, to: 2021-09-29 00:02, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:02:56  INFO: user: 1, report: events, from: 2021-09-29 00:02, to: 2021-09-29 00:02, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:03:26  INFO: user: 1, report: events, from: 2021-09-29 00:02, to: 2021-09-29 00:03, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:03:56  INFO: user: 1, report: events, from: 2021-09-29 00:03, to: 2021-09-29 00:03, devices: [2, 3, 5, 106], groups: []
2021-09-29 00:04:26  INFO: user: 1, report: events, from: 2021-09-29 00:03, to: 2021-09-29 00:04, devices: [2, 3, 5, 106], groups: []
Anton Tananaev3 years ago

Sure, just remove it from the code.

Deborah3 years ago

Thanks Anton, is it not possible to exclude it from the configuration file?

Anton Tananaev3 years ago

Only by disabling most of the other logging as well. You can change logging level in the configuration.