get method name of logging caller...

2010-10-15 Thread Thorsten Schöning
Hello, is there any way to get the method name of the logging caller in the log message? In some places %M is mentioned, but it doesn't seem to work and is not in the documentation of class PatternLayout. With log4perl and log4j I'm able to log the whole class path down to a method and wondered

Re: get method name of logging caller...

2010-10-15 Thread Jacob L. Anawalt
On 10/15/2010 5:53 AM, Thorsten Schöning wrote: Hello, is there any way to get the method name of the logging caller in the log message? As you say, the log4j docs document %M in the PatternLayout (while log4cxx does not) but caution against the inefficiency of it's use. Additionally The

Re: exception std::out_of_range in StringHelper::startsWith

2010-10-15 Thread Jacob L. Anawalt
On 10/12/2010 10:24 AM, Thorsten Schöning wrote: I get an out_of_range exception everytime I use a logger which name is longer than the name of the root logger I'm not sure what this named root logger you're referring too. In xml config it's just root and in property format it's