kdotool icon indicating copy to clipboard operation
kdotool copied to clipboard

Option to disable logging

Open Toxican opened this issue 5 months ago • 3 comments

Hi.

kdotool spams my logs heavy while using in loop-calls with

Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-vP98pD START Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-vP98pD RESULT ~: journalctl -f - journalctl Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-vP98pD FINISH Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-KZlrgx START Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-KZlrgx RESULT kitty Aug 09 15:17:22 kwin_wayland[30652]: js: kdotool-KZlrgx FINISH Aug 09 15:17:23 kwin_wayland[30652]: js: kdotool-eiUVKl START Aug 09 15:17:23 kwin_wayland[30652]: js: kdotool-eiUVKl RESULT {55844ca5-53a1-4a3c-9dbb-75aa1ad95321} Aug 09 15:17:23 kwin_wayland[30652]: js: kdotool-eiUVKl FINISH

It would be very nice, if there is an Option to disable this extensive logging.

Greetings.

Toxican avatar Aug 09 '25 13:08 Toxican

Having the same problem. I'm using SteamController which now internally uses kdotool to detect windows changes and switching layout, so it calls kdotool every 0.1s which results in tens GBs of journald logs every day

Igorgro avatar Aug 10 '25 19:08 Igorgro

It seems that the release from the author was compiled with the debug option forcibly enabled. Recompiling from source removed the logs in journalctl for me.

qwphr avatar Sep 24 '25 18:09 qwphr

Hi, I am working on a fork of this tool and implemented this feature... https://github.com/tvidal-net/kdotool/releases/tag/v0.2.2-SNAPSHOT

tvidal-net avatar Nov 12 '25 11:11 tvidal-net