Skip Menu |

This queue is for tickets about the Log-Any-Adapter-ScreenColoredLevel CPAN distribution.

Report information
The Basics
Id: 112665
Status: resolved
Priority: 0/
Queue: Log-Any-Adapter-ScreenColoredLevel

People
Owner: Nobody in particular
Requestors: MAROS [...] cpan.org
Cc:
AdminCc:

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



Subject: LOG_LEVEL=trace environment does not work
According to the documentation the environment settings "LOG_LEVEL=trace" and "TRACE=1" should have the identical effect. However, a script called with LOG_LEVEL=trace only outputs log messages of severity warning or higher. TRACE=1 works as expected. LOG_LEVEL=debug AND DEBUG=1 both work as expected and behave identical.
On Thu, 3 Mar 2016 13:05:49 GMT, MAROS wrote: Show quoted text
> According to the documentation the environment settings > "LOG_LEVEL=trace" and "TRACE=1" should have the identical effect. > However, a script called with LOG_LEVEL=trace only outputs log > messages of severity warning or higher. TRACE=1 works as expected. > > LOG_LEVEL=debug AND DEBUG=1 both work as expected and behave > identical.
Fixed (Log-Any-Adapter-Screen-0.12.tar.gz). Note that after 0.08, Log-Any-Adapter-ScreenColoredLevel has been renamed to Log-Any-Adapter-Screen. I'm purging the old name from PAUSE now. Regards,