It's all about the answers!

Ask a question

How do I reload the log4j settings without restarting the server? (self-answer)


1
2
Bo Chulindra (1.3k2718) | asked Jan 02 '13, 11:42 a.m.
JAZZ DEVELOPER
retagged Jan 07 '13, 4:28 p.m. by Douglas Bush (28125)
My CLM server is already started and I would like to change my log4j settings. How can I do this without restarting the server?

One answer



permanent link
Bo Chulindra (1.3k2718) | answered Jan 02 '13, 11:46 a.m.
JAZZ DEVELOPER
This is a self-answer since I found this tip to be quite useful:

You can edit your log4j.properties file for your application then visit https://<hostname>:9443/<contextRoot>/admin#action=com.ibm.team.repository.admin.reloadLoggingSettings to reload the log4j settings (substitute your host name and context root). The new log4j settings should take effect immediately.

This should work for JTS, CCM, and QM. I haven't tested this on other apps.

Comments
2
Kevin Ramer commented Jan 02 '13, 12:13 p.m.

It's also possible to add

?internal=true

just after /admin and you'll get a set of nice additions (Server Reset, Log Reset, Counters, etc.)


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.