Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在哪里可以找到在配置过程中可能发生的任何错误jboss-log4j.xml?
jboss-log4j.xml
错误包括输入 forappender但不是 for的简单输入错误category name。
appender
category name
我面临一个问题,日志没有写入指定的文件名,而是写入服务器的server.log. 所以,我想调试出错的地方。
server.log
这只是 log4j。因此,例如, -Dlog4j.debug=true 将为您溢出一些信息。有关更多详细信息,请参阅 log4j 文档。