MCPcopy Create free account
hub / github.com/apache/impala / FlagToTLogLevel

Function FlagToTLogLevel

be/src/util/logging-support.cc:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277TLogLevel::type FlagToTLogLevel(int flag) {
278 switch (flag) {
279 case 0: return TLogLevel::INFO;
280 case 1: return TLogLevel::VLOG;
281 case 2: return TLogLevel::VLOG_2;
282 case 3:
283 default: return TLogLevel::VLOG_3;
284 }
285}
286
287void LoggingSupport::DeleteOldLogs(const string& path_pattern, int max_log_files) {
288 // Ignore bad input or disable log rotation

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected