Liferay日志记录级别 [英] Liferay logging level

查看:90
本文介绍了Liferay日志记录级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以设置Liferay的全局日志记录级别?我知道它是服务器管理中的控制台,但我想将全局级别设置为不包级别.

Is there a way to set Liferay's global logging level? I am aware of it's console in the Server Administration but I want to set a global level not to a package level.

谢谢!

推荐答案

通过解压缩$ server/applications/liferay-portal/WEB-INF/lib中找到的portal-impl.jar并替换META-INF的内容来解决此问题/portal-log4j.xml和我的要求.

Fixed it by unpacking portal-impl.jar found in $server/applications/liferay-portal/WEB-INF/lib and replacing the contents of META-INF/portal-log4j.xml with my requirements.

这篇关于Liferay日志记录级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆