這部份內容對 Confluence 的默認日誌表現進行描述而且假設你沒有對 Confluence 的默認日誌配置進行修改。爲了統一在不一樣平臺中的日誌輸出,Confluence 使用 atlassian-confluence.log
爲主要日誌,而不使用應用服務器日誌。html
<confluence-home>/logs/atlassian-confluence.log
。例如: c:/confluence/data/logs/atlassian-confluence.log
。請注入,默認的位置位於 Confluence 的 home 目錄中(home directory)而不是在應用服務器的日誌目錄中的。home 目錄的路徑能夠在 <confluence-installation>/confluence/WEB-INF/classes/confluence-init.properties
中指定。apache
有關 Confluence 和 Synchrony 的日誌表現定義在下面的屬性文件:<CONFLUENCE-INSTALL>/confluence/WEB-INF/classes/log4j.properties
服務器
這個文件是標準的 Logj 配置文件,請參考 Apache log4j documentation 頁面中的描述。日誌
https://www.cwiki.us/display/CONF6ZH/Working+with+Confluence+Logscode