Joseph
Joseph

Reputation: 826

How to modify trace service programmatically at runtime in Websphere V7?

As you know, Was V7 has the function to configure log in Admin console. But, I want to modify these configurations via my code. So, does it exist some APIs to help me to implement this in Was V7?

Upvotes: 2

Views: 166

Answers (1)

Rick
Rick

Reputation: 3840

You use the AdminClient to look up the TraceService MBean and update the trace string via that interface.

Upvotes: 1

Related Questions