| 1163 | } |
| 1164 | |
| 1165 | [[noreturn]] void ImpalaServer::LogFileFlushThread() { |
| 1166 | while (true) { |
| 1167 | sleep(5); |
| 1168 | const Status status = profile_logger_->Flush(); |
| 1169 | if (!status.ok()) { |
| 1170 | LOG(WARNING) << "Error flushing profile log: " << status.GetDetail(); |
| 1171 | } |
| 1172 | } |
| 1173 | } |
| 1174 | |
| 1175 | [[noreturn]] void ImpalaServer::AuditEventLoggerFlushThread() { |
| 1176 | while (true) { |