[
https://issues.jboss.org/browse/WFLY-1721?page=com.atlassian.jira.plugin....
]
Yoshimasa Tanabe edited comment on WFLY-1721 at 8/29/13 11:07 AM:
------------------------------------------------------------------
OK, It works!
{code}
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:write-attribute(name=directory,value="$WILDFLY_HOME/standalone/log")
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
// restart WildFly
$ wget localhost:8080
$ ls $WILDFLY_HOME/standalone/log
access_log..log server.log server.log.2013-08-28
$ cat access_log..log
127.0.0.1 29/Aug/2013:14:39:31 +0000 "GET / HTTP/1.0" 200 2417
{code}
Thank you for you reply!
was (Author: emag):
OK, It works!
{code}
[standalone@localhost:9990 /]
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:write-attribute(name=directory,value="$WILDFLY_HOME/standalone/log")
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
// restart WildFly
$ wget localhost:8080
$ ls
access_log..log server.log server.log.2013-08-28
$ cat access_log..log
127.0.0.1 29/Aug/2013:14:39:31 +0000 "GET / HTTP/1.0" 200 2417
{code}
Thank you for you reply!
Access log support
------------------
Key: WFLY-1721
URL:
https://issues.jboss.org/browse/WFLY-1721
Project: WildFly
Issue Type: Feature Request
Components: Web (Undertow)
Affects Versions: 8.0.0.Alpha3
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Fix For: 8.0.0.Beta1
We need to expose access log configuration trough management.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira