dev@glassfish.java.net

Re: [V3] how to turn on access log ?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 08 Apr 2008 08:38:24 -0700

I don't know the answer here, but should these properties be upgraded
to 1st-class attributes? For example:

getDocroot();
getAccessLogPath();
getAccessLoggingEnabled()

Lloyd



On Apr 6, 2008, at 11:39 AM, Anissa Lam wrote:
>
> I tried to turn on access logging to __asadmin, here is how
> domain.xml looks like:
>
> <virtual-server default-web-module="" state="on" hosts="$
> {com.sun.aas.hostName}" log-file="${com.sun.aas.instanceRoot}/logs/
> server.log" id="__asadmin" http-listeners="admin-listener">
> <property value="${com.sun.aas.instanceRoot}/docroot"
> name="docroot" />
> <property value="${com.sun.aas.instanceRoot}/logs/access"
> name="accesslog" />
> <property value="false" name="sso-enabled" />
> <property value="true" name="accessLoggingEnabled" />
> </virtual-server>
>
> After i restart the server, i can see the file __asadmin_access_log.
> 2008-04-06.txt created under domains/domain1/logs/access
> however, the file size is always zero, and nothing is recorded in
> the file.
>
> Is access logging supported in TP2 ? Is this a known issue ? Or
> do i need to do something extra to trigger the logging ?
>
> thanks
> Anissa
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc