slemarchand / liferay-log-config-auto-reloader

πŸ”₯ Watch any log config file and automatically apply log config each time the file is modified. Compatible with Liferay 7.1, 7.2, 7.3 and 7.4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Config Auto Reloader for Liferay πŸ”₯

license

Watch any log config file and automatically apply log config each time the file is modified, without the requirement of any restart of anything.

Compatibility

Liferay versions 7.1, 7.2, 7.3 and 7.4 are supported (both for CE and DXP).

Installation

Get the log-config-auto-reloader.jar file from the release page and just drop it into your $LIFERAY_HOME/deploy directory.

Configuration

Go to Control Panel > System Settings > Infrastructure > Log Config Auto Reloader and edit the configuration.

Control Panel Configuration Form

Configuration parameters are:

  • Watch log levels properties file (yes/no)
  • Log levels properties file path (file system path)
  • Create log levels properties file if not exist (yes/no)
  • Watch Log4j XML file (yes/no)
  • Log4j XML file path (file system path)
  • Create Log4j XML file if not exist (yes/no)

Don't forget to submit the configuration form.

Alternatively, you can just the drop this configuration file (usual config for local developement) into your $LIFERAY_HOME/osgi/deploy directory.

License

MIT

About

πŸ”₯ Watch any log config file and automatically apply log config each time the file is modified. Compatible with Liferay 7.1, 7.2, 7.3 and 7.4

License:MIT License


Languages

Language:Java 100.0%