79351687

Date: 2025-01-13 09:28:00
Score: 0.5
Natty:
Report link

I faced the same problem and the administrator refuse to change anything in the standalone.xml because it may affect another apps running in same server and I don't blame him.

SO ,,,,,,,, I came to something called logging profiles in configuration Wildfly server.

Configuration ⇒ Subsystems ⇒ Logging ⇒ Logging Profiles

Create profile and add handler File handler and set path you want.

In your MANIFEST.MF file add

Logging-Profile: yourProfileName

and vola it will works.

Note: you can automate adding Logging-Profile: yourProfileName from your pom.xml

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): ,,,,,,,,
  • Low reputation (1):
Posted by: deem sameer