Include monitor name in log otput so we know which monitor we are talking about. This informaton is not included when the error occurs in zms.
This commit is contained in:
parent
4f9a2e1689
commit
790005c155
|
@ -416,12 +416,12 @@ Monitor::Monitor(
|
||||||
{
|
{
|
||||||
if ( purpose != QUERY )
|
if ( purpose != QUERY )
|
||||||
{
|
{
|
||||||
Error( "Shared data not initialised by capture daemon" );
|
Error( "Shared data not initialised by capture daemon for monitor %s", name );
|
||||||
exit( -1 );
|
exit( -1 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Warning( "Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results" );
|
Warning( "Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor %s", name );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue