【问题标题】:How to use slf4j logger instead of builtin Liferay DXP 7.2 logger in mvc-portlet?如何在 mvc-portlet 中使用 slf4j 记录器而不是内置 Liferay DXP 7.2 记录器?
【发布时间】:2021-11-12 01:33:59
【问题描述】:

我不知道如何关闭默认记录器并使用 slf4j 而不是 Liferay DXP 7.2 mvc-portlet 中的默认值。一个可行的例子会很棒。

我已经试过了:

Implementing Logging

How to disable XML Log Files in Liferay 7.x

Using SLF4J and Liferay Logging Framework in custom plugins

Liferay Logging is Dead! Long Live Liferay Logging!

Github: dnebing/slf4j-liferay

【问题讨论】:

  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: liferay slf4j liferay-dxp slf4j-api liferay-7.2


【解决方案1】:
猜你喜欢
  • 1970-01-01
  • 2012-10-08
  • 2021-10-27
  • 2010-11-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-11-30
  • 2017-08-26
相关资源
最近更新 更多