Red Hat Bugzilla – Bug 1029564
Setting attribute path and relative-to of access log doesn't require reload but it is not active before server reload
Last modified: 2017-10-09 20:07:50 EDT
Description of problem:
When you try to set path or relative-to path of access log for virtual host in CLI, you must first add "directory=configuration" node. If you pass attributes values directly in the :add(path="new/relative/path") operation, no reload is required, but new setting is not active until reload.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable access logs and reload
2. change relative path from "default-host" to
3. do few web requests on virtual server url
check if log is located in new location
no reload required, but access log is still written into default location
reload required flag is set for :add() operation if we call it with attributes values
changing "path" or "relative-to" attribute with operation :write-attribute is behaving correctly - reload required flag is set.
Checked with EAP 6.4.0.DR13 and the issue is still valid