在启用属性的情况下启动 Confluence 6
属性 启动 情况 启用 confluence
2023-09-27 14:20:35 时间
在一些情况下,你可以希望 Confluence 在系统启动的时候就对属性文件进行打印。如果你的 Confluence 经常进行重启,并且你可能忘记来启动针对系统诊断的属性文件日志开关。
编辑 CONFLUENCE_HOME\confluence\WEB-INF\web.xml 文件。你应该可以在文件中看到与下面输出内容类似的行。设置 autostart 参数为 true:
<filter> <filter-name>profiling</filter-name> <filter-class>com.atlassian.confluence.util.profiling.ConfluenceProfilingFilter</filter-class> <init-param> <!-- specify the which HTTP parameter to use to turn the filter on or off --> <!-- if not specified - defaults to "profile.filter" --> <param-name>activate.param</param-name> <param-value>profile</param-value> </init-param> <init-param> <!-- specify the whether to start the filter automatically --> <!-- if not specified - defaults to "true" --> <param-name>autostart</param-name> <param-value>true</param-value> </init-param> </filter>
如果你希望 Confluence 在重启的时候不记录属性日志或者你的属性日志过大的话,你可以将这个参数重新设置为 false 。
https://www.cwiki.us/display/CONF6ZH/Troubleshooting+Slow+Performance+Using+Page+Request+Profiling
相关文章
- CSS布局 ——从display,position, float属性谈起
- 手写一个Promise完成resolve 和 reject状态的改变和修改属性
- JS中Class类的静态属性和静态方法
- java中遍历实体类属性和类型,属性值
- JSON忽略指定属性
- 【Python基础】给对象增加属性 || 在方法内部使用self来赋值 || 初始化方法 || 改造初始化方法 || 内置方法和属性:__del__()方法、__str__()方法
- 《JS原理、方法与实践》- ES6原有对象新增属性
- tomacat服务器上web资源访问流程、web应用打成war包发布、Context的reloadable属性、tomacat体系架构
- static、final、abstract 、interface 、字段、属性、方法、构造器 应用场景分析
- C#属性疑惑
- PyQt(Python+Qt)学习随笔:QMdiArea多文档界面区域的viewMode、documentMode、tabsClosable、tabPosition等属性介绍
- PyQt(Python+Qt)学习随笔:QListWidget的sortingEnabled属性
- shiro过滤器过滤属性含义
- AD属性常量类
- 13面向对象编程-多重继承、限制实例属性