The problem is more of cosmetic nature; the logging format output is different from what is used normally - it looks alien. Since the context data is available I assume I can write an own logging source writing/fill the log records filled with the context information. Additionally I want to add a "Scope" or "Library" flag "Qt" (Scope may be not the best choise since it's used in another context). But I didn't find an example in the boost.log module to find the entry; is writing an own source the right way? How to use it in the qt_message_translator?
as far I understood so far, the entry point is described at http://www.boost.org/doc/libs/1_54_0/libs/log/doc/html/log/detailed/sources..... if (logging::record rec = m_logger.open_record()) { rec.attribute_values().insert("Message", attrs::make_attribute_value(std::string("Connection established"))); m_logger.push_record(boost::move(rec)); } where I can write a record with Message and LineID. But what is the complementary attribute for Filename and Function?? Thanks, Olaf