Skip Menu |

This queue is for tickets about the Log-ger-Output-Screen CPAN distribution.

Report information
The Basics
Id: 131702
Status: resolved
Priority: 0/
Queue: Log-ger-Output-Screen

People
Owner: Nobody in particular
Requestors: sebastian.schleussner [...] convertus.se
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

On Thu, 6 Feb 2020 10:37:33 GMT, sebastian.schleussner@convertus.se wrote: Show quoted text
> 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 >
Fixed, thanks!