users@glassfish.java.net

Re: Turn on access logging via jmx?

From: Amy Roh <amy.roh_at_oracle.com>
Date: Tue, 27 Apr 2010 11:30:00 -0700

Comerford, Sean wrote:
> I’m running a clustered instance that ONLY syncs changes with the DAS
> at restart.
>
> I want to turn on access logging WITHOUT actually restarting the instance.
>
> Is there a way via asadmin or JMX to toggle access logging on?

You can turn on access logging dynamically without restarting the server -

asadmin set server.http-service.access-logging-enabled=true

Amy

>
> --
> Sean Comerford, Software Engineer
> ESPN.com Site Architecture Group
> Office: 860.766.6454 Cell: 860.329.5842