Subject: | Percent signs in log messages are incorrectly interpreted as printf commands |
Run the following program, then look at /var/log/syslog.
Note that the output will just be "Log output: %"
#!/usr/bin/env perl
use Log::Any::Adapter;
Log::Any::Adapter->set('Syslog');
use Log::Any qw($log);
$log->warning('Log output: %s %d %i %%');