May 15, 2017

[HDGEM] Glassfish access log properties

asadmin get server.http-service.access-log
server.http-service.access-log.buffer-size-bytes=32768
server.http-service.access-log.format=%client.name% %auth-user-name% %datetime% %request% %headers.content-type% %status% %response.length% %time-taken% %header.user-agent% %header.referer%
server.http-service.access-log.max-history-files=-1
server.http-service.access-log.rotation-enabled=true
server.http-service.access-log.rotation-interval-in-minutes=1440
server.http-service.access-log.rotation-policy=time
server.http-service.access-log.rotation-suffix=yyyy-MM-dd
server.http-service.access-log.write-interval-seconds=300
Command get executed successfully.


asadmin set server.http-service.access-log.format="combined"
or
asadmin set server.http-service.access-log.format="common"

From GUI
Configuration -> HTTP Service

--
Posted By Blogger to HDGEM at 5/15/2017 09:01:00 AM