0

My program reads files and if the file is formatted using the user provided log4j conversion pattern (log4j.appender.ConsoleAppender.layout.ConversionPattern)

Basically I need to convert log4j conversion pattern to corresponding java regex dynamically and check file content pattern.

Gale
  • 215
  • 3
  • 15
Despicable me
  • 548
  • 1
  • 9
  • 24
  • 1
    Is [this](http://stackoverflow.com/q/28482881/4607733) helpful? – logi-kal Jul 23 '16 at 10:43
  • Thanks horcrux... The link u shared was asking same question. But i am not allowed to use any such third party tools or libraries because of existing framework. Is there any log4j function which can identify file format pattern? – Despicable me Jul 23 '16 at 18:17

0 Answers0