diff --git a/src/zm_logger.cpp b/src/zm_logger.cpp index 3dbe1179a..1db2e6c9f 100644 --- a/src/zm_logger.cpp +++ b/src/zm_logger.cpp @@ -521,8 +521,6 @@ void Logger::logPrint( bool hex, const char * const filepath, const int line, co if ( level < PANIC || level > DEBUG9 ) Panic( "Invalid logger level %d", level ); - strncpy( classString, smCodes[level].c_str(), sizeof(classString) ); - gettimeofday( &timeVal, NULL ); #if 0 @@ -571,7 +569,7 @@ void Logger::logPrint( bool hex, const char * const filepath, const int line, co timeString, mId.c_str(), tid, - classString, + smCodes[level].c_str(), file, line );