Skip to content

Unnecessary debug logging is enabled in release version, filling up disk space #42

@scscgit

Description

@scscgit

There are files like lmc_1477919175480.log being created under C:\Users\<user>\AppData\Local\LAN Messenger\LAN Messenger\logs spanning up to several MB each, which accumulate and waste more than 40MB every year on a single setup with a casual usage of 2 computers, so I can't even imagine how much spam does this cause in real scenarios. Files contain content like this:

[2017.01.15 23:39:49] Refreshing contacts list...
[2017.01.15 23:39:49] Sending broadcast type 1
[2017.01.15 23:39:49] Sending UDP datagram to 239.255.100.100:50000
[2017.01.15 23:39:49] Sending UDP datagram to 192.168.56.255:50000
[2017.01.15 23:39:49] Broadcast sending done
[2017.01.15 23:39:49] UDP datagram received from 192.168.56.1
[2017.01.15 23:39:49] UDP datagram received from 192.168.56.1

This should be disabled by default along with some way to periodically clean this up.

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