2010-07-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that log4x data is available before trying to read it. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a862f836cc
commit
a8cbe503ef
|
@ -1,3 +1,8 @@
|
|||
2010-07-07 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Verify that log4x data is available
|
||||
before trying to read it.
|
||||
|
||||
2010-07-06 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm, ReconServer.pm, DataServer.pm: Delete
|
||||
|
|
|
@ -1493,6 +1493,7 @@ sub log4x_get_severity_num($) {
|
|||
my ($dataObject) = @_;
|
||||
my $data = $dataObject->{'severity'};
|
||||
|
||||
return undef unless defined ($data);
|
||||
# The severity is a word, so we need to translate to numbers
|
||||
|
||||
if ($data =~ m/^trace$/i) {
|
||||
|
|
Loading…
Reference in New Issue