Skip Menu |

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 98446
Status: resolved
Priority: 0/
Queue: Sys-Syslog

Owner: SAPER [...]
Requestors: alexander.bluhm [...]

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

Subject: trailing new line with perror
Download (untitled) / with headers
text/plain 724b
When using perror with a non-native method, after each log line an empty line is printed to stderr. One new line is added here: $mask .= "\n" unless $mask =~ /\n$/; $message = @args ? sprintf($mask, @args) : $mask; And another one here: print STDERR "$whoami: $message\n"; This patch fixes the bug: --- Fri May 24 02:10:00 2013 +++ Fri Aug 29 21:35:34 2014 @@ -453,7 +453,7 @@ sub syslog { if ($options{perror} and $current_proto ne 'native') { my $whoami = $ident; $whoami .= "[$$]" if $options{pid}; - print STDERR "$whoami: $message\n"; + print STDERR "$whoami: $message"; } # it's possible that we'll get an error from sending
Thanks for your bug report. This will be fixed in the next release.
This issue should be fixed with version 0.34, just released. -- Close the world, txEn eht nepO.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to