Commit ebd2240d authored by Xavier Guimard's avatar Xavier Guimard

Use $level when set in Common::CGI::userlog()

Closes: #665
parent 6fd8f5cb
......@@ -297,7 +297,7 @@ sub userLog {
my ( $self, $mess, $level ) = @_;
if ( $self->{syslog} ) {
$self->startSyslog();
syslog( 'notice', $mess );
syslog( $level || 'notice', $mess );
}
else {
$self->lmLog( $mess, $level );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment