From 099ead02a57e6081706e628b1e3d5ebf97ab7d94 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Tue, 7 Dec 2010 07:59:30 +0100 Subject: store the ssl fingerprint in the userstruct --- src/logger.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/logger.cpp b/src/logger.cpp index 70ce988f6..c4423e23c 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -196,6 +196,8 @@ Log::~Log() { if (nofork && debug && this->Type >= LOG_NORMAL && this->Type <= LOG_DEBUG + debug - 1) std::cout << GetTimeStamp() << " Debug: " << this->buf.str() << std::endl; + else if (nofork && this->Type <= LOG_TERMINAL) + std::cout << GetTimeStamp() << " " << this->buf.str() << std::endl; else if (this->Type == LOG_TERMINAL) std::cout << this->buf.str() << std::endl; for (unsigned i = 0; Config && i < Config->LogInfos.size(); ++i) -- cgit