TRQ-1929 - Fixed logging when loglevel >= 7 that caused server to crash.