找到 Confluence 6 的日誌和配置文件
阿新 • • 發佈:2018-07-30
內容 平臺 定義 data ext tps 在服務器 完成 行修改 找到 Confluence 的日誌文件
這部分內容對 Confluence 的默認日誌表現進行描述並且假設你沒有對 Confluence 的默認日誌配置進行修改。為了統一在不同平臺中的日誌輸出,Confluence 使用 atlassian-confluence.log
為主要日誌,而不使用應用服務器日誌。
當你啟動 Confluence 的時候,日誌實體將會發送日誌直到 Confluence 完全初始化完成。任何在服務器控制臺中輸出的日誌也會同時輸出到上面描述的文件中。
當啟動完成後,所有的日誌將會輸出到
<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
中指定。
找到 Confluence 的日誌配置文件
有關 Confluence 和 Synchrony 的日誌表現定義在下面的屬性文件:<CONFLUENCE-INSTALL>/confluence/WEB-INF/classes/log4j.properties
這個文件是標準的 Logj 配置文件,請參考 Apache log4j documentation 頁面中的描述。
https://www.cwiki.us/display/CONF6ZH/Working+with+Confluence+Logs
找到 Confluence 6 的日誌和配置文件