lundi 24 mars 2014

Log4j pattern, how to represent spaces


Vote count:

0




In log4j, How do we represent more than one spaces (like : \s+) in the pattern? I have a pattern like this " %d{ISO8601}\t%t\t%m %n", but the tab-separation is not reliable when I was parsing through chainsaw and LogMX. I am searching for replacement of multiple-space-separated rather than tab-separated , but I cannot find any. Any help is appreciated .. Thank you.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire