I'm trying to configure the access-log setting for a host in a layer-spec
What I want to achieve is this:
<access-log pattern="%h %l %u [%t] "%r" %s %b "%{i,Referer}" "%{i,User-Agent}""/>
All those " are in the actual value.
I have this setting:
<feature spec="subsystem.undertow.server.host.setting.access-log">
<param name="pattern" value="%h %l %u [%t] "%r" %s %b "%{i,Referer};" "%{i,User-Agent}""/>
</feature>
What I actually get as a result is this:
<access-log pattern="%h %l %u [%t] "%r" %s %b" worker="default"/>
I tried adding a few dashes just to fill it out:
<param name="pattern" value="%h %l %u [%t] "%r"-------- %s %b "%{i,Referer}" "%{i,User-Agent}""/>
and that gave me
<access-log pattern="%h %l %u [%t] "%r"-------- %s %b" worker="default"/>
so it's not simply truncating. I did wonder if it was the "{" so I tried numeric entities - no luck.
Any ideas what's up?