Log4J not adding newlines between logfile entries

前端 未结 2 1725
野性不改
野性不改 2021-01-19 17:38

I am just starting with log4j. I don\'t have a problem with it reading my properties file and actually logging events, but it seems to be appending everything to the end of

2条回答
  •  没有蜡笔的小新
    2021-01-19 18:11

    Are those %m%n on the same line as the rest? If not, that would explain it.

    Oh, and for the 2nd appender, you have a % after %n. That doesn't look right either.

提交回复
热议问题