log4perl
log4perl copied to clipboard
Log4j Implementation For Perl
To be able to delete single keys from MDC, a delete method would be very welcome. It can be done using `get_context` already but makes grepping for MDC modifications in...
Log-Log4perl-1.54 Switching the log file name using the `file_switch()` method, creates a new logfile even if the `create_at_logtime` option is set to true. Maybe the line 271 in `Log::Log4perl::Appender::File` should...
`Log::Log4perl::DateFormat` computes the time zone offset only once, so Lo4perl ends up logging incorrect datetimes when the object survives during time zone changes. ```bash % faketime '2021-03-28 01:59:58' perl -MLog::Log4perl...
Hi, I am using property configuration. And now I need to use dots in names for some fields. For example: `JsonLayout.field.browser.name = Firefox` In this case I want to get...
A configuration like so will not apply the max_col_size option and truncate the 7th bind field [message]: ``` log4perl.appender.DBI.sql = INSERT INTO log(logDate, filename, lineNum, logLevel, ip, userNum,message) VALUES (?,?,?,?,?,?,?)...
Hi, I couldn't find any documentation on how to set the "undef_column_value". It causes problems when trying to convert the output to JSON as my expected field type is an...
We should consider enforcing three args open in Log4perl this is coming from ` sub file_open` Log::Log4perl::Appender::File ```perl eval { if($self->{syswrite}) { sysopen $fh, "$self->{filename}", $sysmode or die "Can't sysopen...
Hello, Given the following script, which I tried to keep minimal: ```perl #! /usr/bin/perl use strict; use warnings; use Log::Log4perl qw(get_logger); use English; use File::Slurp qw( write_file ); my $USER...
The carp()-Message from Log::Log4perl::Appender jump over the important package who call the log-method and report from the next package. Simple remove the increase for $Carp::CarpLevel fix the problem. From the...
Using the file appender and a filename such as "пример.log" on Windows results in: ``` Can't open ??????.log (Invalid argument) at C:\...lib/Log/Log4perl/Appender/File.pm line 151. ``` It's fine with common Latin1...