mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
RedisConnection: shorten log messages
This commit is contained in:
parent
cd44c5371a
commit
955b612703
@ -64,8 +64,12 @@ void LogQuery(RedisConnection::Query& query, Log& msg)
|
||||
break;
|
||||
}
|
||||
|
||||
if (arg.GetLength() > 64) {
|
||||
msg << " '" << arg.SubStr(0, 61) << "...'";
|
||||
} else {
|
||||
msg << " '" << arg << '\'';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void RedisConnection::FireAndForgetQuery(RedisConnection::Query query, RedisConnection::QueryPriority priority)
|
||||
|
Loading…
x
Reference in New Issue
Block a user