src/backend/logging/log_manager.cpp
/**
 * @brief stopping logging
 * Disconnect backend loggers and frontend logger from log manager
 */
@brief stopping logging
Disconnect backend loggers and frontend logger from log manager
@brief stopping logging Disconnect backend loggers and frontend logger from log manager
bool LogManager::EndLogging() {
  WaitForModeTransition(LOGGING_STATUS_TYPE_RECOVERY, false);
  LOG_INFO("Wait until frontend logger escapes main loop..");
  TerminateLoggingMode();
  LOG_INFO("Escaped from MainLoop");
  SetLoggingStatus(LOGGING_STATUS_TYPE_INVALID);
  LOG_INFO("Terminated successfully");
  return true;
}
bool LogManager :: EndLogging ( ) { WaitForModeTransition ( LOGGING_STATUS_TYPE_RECOVERY , false ) ; LOG_INFO ( " " ) ; TerminateLoggingMode ( ) ; LOG_INFO ( " " ) ; SetLoggingStatus ( LOGGING_STATUS_TYPE_INVALID ) ; LOG_INFO ( " " ) ; return true ; }
@brief stopping logging
 Disconnect backend loggers and frontend logger from log manager
@brief stopping logging Disconnect backend loggers and frontend logger from log manager
// Wait if current status is recovery // Wait for the frontend logger to enter sleep mode // Remove the frontend logger