Hi,
you need to enable access logging. With admin-gui, just edit the value
click Configuration > HTTP-SERVICE. You can also enable it using the
admin CLI:
% asadmin set server.http-service.property.accessLoggingEnabled=true
The operation will succeed (but there will be an error message related
to bug[1]). You can also do:
% vi ${glassfish.home}/domains/domain1/config/domain.xml
and set <property name="accessLoggingEnabled" value="true"> and restart
GlassFish.
Hope that help.
-- Jeanfrancois
[1]
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2256
Dmitry Mozheyko wrote:
> Hello all.
> Where i can find access.log file in default installed gf-v2-build30?
> In admin GIU i see "Common Tasks> Configuration> HTTP Service> Virtual Servers> server" parameter "accesslog" with "${com.sun.aas.instanceRoot}/logs/access" value, but this directory doesn't exist and if i create it logs doesn't appears.
> In ${com.sun.aas.instanceRoot}/logs/server.log i don't see information about web-requests.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>