Enclose subject common name in square brackets.
May be helful for log analysis.
This commit is contained in:
@@ -47,7 +47,7 @@ static void LogGpgMEError(const GpgME::Error& e)
|
|||||||
WLogger logger;
|
WLogger logger;
|
||||||
logger.setFile(logfile);
|
logger.setFile(logfile);
|
||||||
logger.entry("") << WLogger::timestamp
|
logger.entry("") << WLogger::timestamp
|
||||||
<< WLogger::sep << subjectCommonName
|
<< WLogger::sep << WString("[") << subjectCommonName << WString("]")
|
||||||
<< WLogger::sep << WApplication::instance()->environment().userAgent()
|
<< WLogger::sep << WApplication::instance()->environment().userAgent()
|
||||||
<< WLogger::sep << std::to_string(e.code())
|
<< WLogger::sep << std::to_string(e.code())
|
||||||
<< WLogger::sep << e.asString();
|
<< WLogger::sep << e.asString();
|
||||||
|
|||||||
Reference in New Issue
Block a user