I see.
Why not using the __FUNCTION__ macro ? At least the method field could be filled.
Regards,
Christophe
Micha�l CATANZARITI a �crit :
the method and class fields cannot be easily filled in C++ because there are no compilator builtin macros like __FILE__ or __LINE__
Nevertheless, Chainsaw need to find the tags method and class in the incoming XML stream even if those tags are empty.
Before my fix, theses tags were not present in the log4cxx XMLLayout/XMLSocketAppender and Chainsaw throwed exceptions. Now these tags are present but empty. It's just to mislead Chainsaw.
Micha�l
