tags:

views:

7

answers:

1

Hi Is it possible to change what levels of TraceEventType that a trace listener should log without restarting the WCF service? I'm letting the user configure what the trace should log, sends it to the service and then writes it to the config file. This solution requires the service to be restarted before the change takes effect...

Best Daniel

A: 

As far as I know that is not possible. But if your service uses the PerCall InstanceContextMode, you should have minimal impact on users during the restart.

Having a fail-over service or a load-balancer would make the down-time invisible to the users.

By the way, I think the trace should not be modified by a remote call but should only be locally accessible to administrators for security reasons.

Johann Blais