1
0
Fork 0

don't log if not properly initialised

This commit is contained in:
Jan Steemann 2014-04-22 22:00:09 +02:00
parent 4732a42c18
commit f34d25381f
1 changed files with 4 additions and 0 deletions

View File

@ -1251,6 +1251,10 @@ void TRI_Log (char const* func,
TRI_tid_t threadId;
va_list ap;
if (! LoggingActive) {
return;
}
processId = TRI_CurrentProcessId();
threadId = TRI_CurrentThreadId();