Get live Log4J messages

前端 未结 3 479
南笙
南笙 2021-01-23 05:15

How do I get what is being written by log4j in central class which monitors all log4j logs in the application?

Thanks

Edit: I wish I would not have to read it fr

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-23 05:53

    By providing log4j configuration that outputs log messages into a file or any other location.

提交回复
热议问题