1.

What Is The Purpose Of C Character Used In The Conversionpattern Of Patternlayout Object ?

Answer»

C − USED to OUTPUT the fully qualified CLASS name of the caller issuing the logging request. For example, for the class name. "org.apache.xyz.SomeClass", the pattern %C{1} will output "SomeClass".

C − Used to output the fully qualified class name of the caller issuing the logging request. For example, for the class name. "org.apache.xyz.SomeClass", the pattern %C{1} will output "SomeClass".



Discussion

No Comment Found