Subject: | Colourized output if only STDERR is redirected |
Date: | Thu, 6 Feb 2020 11:37:29 +0100 |
To: | bug-Log-ger-Output-Screen [...] rt.cpan.org |
From: | Sebastian Schleussner <sebastian.schleussner [...] convertus.se> |
If STDOUT is left on screen and only STDERR is redirected (and Log::ger
writes to STDERR), the module enables colour output, leaving ANSI colour
sequences in the log file.
To fix this, the -t test should be for STDERR, unless Log::ger has been
configured for STDOUT. See attached patch.
Thank you!
/Sebastian
Message body is not shown because sender requested not to inline it.