In my pattern layout, if I use the conversion character %c, it prints the value based on the category as expected:

Example :

com.abc.def.ghi - Message 1
com.abc.def.ghi - Message 2
com.abc.def - Message 3
com.abc.def - Message 4

My requirement is to see the log messages as

def.ghi - Message 1
def.ghi - Message 2
def - Message 3
def - Message 4

i.e. I do not want the first two components of the category name

Could someone explain how to achieve this, please ?

Thanks in advance for the help.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to