Can someone let me know how can I add less than (<) and greater than (>) sign in logback.xml?
I want to have a encoder.pattern like below
<encoder>
<pattern>%p [%d{yyyy-MM-dd HH:mm:ss,SSS}] %c{3}:[%C{1}:%M:%L] - [%t] - %replace(%.-20480m){'[^A-Za-z0-9=<>:@\\-\\[\\]\n\\s!]','_'}%n
</pattern>
<encoder>But this is failing because of the presence of <> ?