Skip to content

Eliminate unnecessary logs produced by Driver - #163

Merged
knuton merged 5 commits into
dividat:mainfrom
yfyf:reduce-logging
Feb 5, 2026
Merged

knuton merged 5 commits into
dividat:mainfrom
yfyf:reduce-logging

Conversation

@yfyf

@yfyf yfyf commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

Details in commits.

It is still pretty annoying (and confusing) to see the debug logs when running Driver while developing:

DEBU[0203] Dialing TCP connection.                       address="192.168.32.183:55568" channel=data package=senso version=2.7.0-8-g52a51ef
DEBU[0203] Could not connect with Senso.                 address="192.168.32.183:55568" channel=data error="dial tcp 192.168.32.183:55568: connect: connection refused" package=senso version=2.7.0-8-g52a51ef

But as discussed, the proper solution to this is maybe to enrich the mDNS data with FW version and/or full TCP address including port.

Probably easier to wait for #162 to be merged and then rebase this on top.

Checklist

  • Changelog updated
  • Code documented

@yfyf
yfyf requested a review from knuton January 19, 2026 14:01
@yfyf yfyf added the reviewable Ready for initial or iterative review. label Jan 19, 2026
@knuton

knuton commented Jan 30, 2026

Copy link
Copy Markdown
Member

Thanks, can be rebased and completed now

@yfyf
yfyf force-pushed the reduce-logging branch 2 times, most recently from b7f6733 to f2464f7 Compare February 4, 2026 08:25
yfyf added 5 commits February 4, 2026 10:29
It is no longer useful since we do not centrally collect the logs and
wastes a lot of log storage space.
Upcoming PlayOS metric collection will be used for observation of memory
usage.
Comment thread src/dividat-driver/logging/server.go Outdated
@yfyf

yfyf commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

@knuton rebased.

I also dropped the version field from each entry in b515c65.

@yfyf yfyf changed the title Eliminated unnecessary logs produced by Driver Eliminate unnecessary logs produced by Driver Feb 4, 2026
@knuton
knuton merged commit 2b98a60 into dividat:main Feb 5, 2026
5 checks passed
@knuton knuton removed the reviewable Ready for initial or iterative review. label Feb 5, 2026
@yfyf
yfyf deleted the reduce-logging branch February 9, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants