<#21022 Pants log level stuck as DEBUG> Issue crea...
# github-notifications
c
#21022 Pants log level stuck as DEBUG Issue created by PatrickDarley Describe the bug When trying to diagnose an error I used the option
-ldebug
which enabled [DEBUG] output. After running without this option it then reverted to normal level output. I then wanted to debug again but forgot the option and ended up trying
--ldebug
(2 dashes) and
-1debug
and then got it right with
-ldebug
. I was also using
--print-stacktrace
everytime if that makes any difference. After this when I stopped using
-ldebug
the debug output still appeared. I then tried
-linfo
hoping that would fix it but no luck. Doing
pants help global
shows that the current loglevel is info. Now whenever I do anything with pants I get spammed with the debug output. Pants version 2.20.0 OS Linux (Kubuntu 22.04) Additional info pantsbuild/pants