Reloading log4j2.xml without a Mango 3.7.12 restart
-
I read somewhere that Mango now supports reloading log4j2 files without a restart. How does one induce Mango 3.7.12 to read '/opt/mango/overrides/properties/log4j2.xml' without a restart? Can this be done from the web interface, or only subsequent to an xml file edit and Mango restart?
If Mango 3.7.12 cannot read the log4j2 file without a restart, can I add the
monitorInterval
syntax intolog4j2.xml
so that Mango can re-read it periodically without a Mango restart? What is the exact log4j2 file syntax recommended to enable re-reading the file?Thanks.
-
@Pedro I don't recall this being possible for mango 3
Fox
-
@MattFox thank you for your reply. I posed the question in this forum while I was waiting for an official response from Radixiot. Now I'm posting the answer here because I finally heard an official response from Radixiot today: they stated there is a "LOG4J RESET" button somewhere in the UI.
I subsequently located that button on the following page in Mango 3.7:
Administration > Admin Home > Utilities > Log4J Reset
or: https://mangoserverurl/ui/administration/log4j-resetI would have responded to your post sooner, but I was waiting for an official answer that would make for a more useful reply, not knowing it would be 19 days. I calculated that they are receiving over 400 support tickets over a 10-day period; that's a lot to keep up with.
-
@Pedro thanks for replying. As I recall, this reset didn't work for serial data sources so a manual reboot was needed. Also if radix bothered to answer these questions in the forum they wouldn't receive so many tickets.
Majority are how to questions I'd wagerFox