How to use slf4j logger instead of builtin Liferay DXP 7.2 logger in mvc-portlet?

323 views Asked by At

I can't figure out how to turn off the default logger and use slf4j instead of the default in Liferay DXP 7.2 mvc-portlet. A working example would be great.

I have already tried:

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

1

There are 1 answers

0
Devz On