I installed the Monitor extension of Gesoerver 2.5.x. and the log file send
RemoteUser empty.

I have secured layers.

My monitor.properties:

*# the storage mode, one of: memory, hibernate*
*# Note: hibernate mode requires the hibernate extension*
*storage=memory*

*# the monitor mode, one of: live, history*
*mode=history*

*# synchronization mode, one of: sync, async, async_update*
*#*
*# WARNING: this is an advanced configuration option. You probably do not
want*
*# to change this unless instructed to by a developer*
*sync=async*

*# The maximum allowable length for a request body (in bytes).  Longer
bodies will be trimmed to *
*# this length.*
*maxBodySize=1024*

*# Disable logging of bodies entirely*
*# maxBodySize=0*

*# Allow unlimited body lengths.  This could take up a lot of space quite
rapidly.*
*# maxBodySize=-1*

*# If you increase or unbound the maximum body length, you must also change
the hibernate mappings*
*# file. *


*# The CRS to log bounding boxes in*
*bboxLogCrs=EPSG:4326*

*# Bounding Box Log Level: controls when to record bounding boxes.*
*# 'none': Don't record bounding boxes*
*# 'no_wfs': Record bounding boxes for WMS and WCS requests, but not WFS.
This is the default*
*# 'full': Record a bounding box for all requests for which one can be
produced.  WFS is not amenable*
*#         to being logged this way so the boxes produced will be
approximate at best.*
*bboxLogLevel=no_wfs*
*audit.enabled=true*
*audit.path=/tmp*
*audit.roll_limit=1000*

My content.ftl:

*<#escape x as x?xml>*
*<Request id="${id!""}">*
*   <Service>${service!""}</Service>*
*   <Version>${owsVersion!""}</Version>*
*   <Operation>${operation!""}</Operation>*
*   <SubOperation>${subOperation!""}</SubOperation>*
*   <Resources>${resourcesList!""}</Resources>*
*   <Path>${path!""}</Path>*
*   <QueryString>${queryString!""}</QueryString>*
*   <#if bodyAsString??>*
*   <Body>*
*   ${bodyAsString}*
*   </Body>*
*   </#if>*
*   <HttpMethod>${httpMethod!""}</HttpMethod>*
*   <StartTime>${startTime?datetime?iso_utc_ms}</StartTime>*
*   <EndTime>${endTime?datetime?iso_utc_ms}</EndTime>*
*   <TotalTime>${totalTime}</TotalTime>*
*   <RemoteAddr>${remoteAddr!""}</RemoteAddr>*
*   <RemoteHost>${remoteHost!""}</RemoteHost>*
*   <Host>${host}</Host>*
*   <RemoteUser>${remoteUser!""}</RemoteUser>*
*   <ResponseStatus>${responseStatus!""}</ResponseStatus>*
*   <ResponseLength>${responseLength?c}</ResponseLength>*
*   <ResponseContentType>${responseContentType!""}</ResponseContentType>*
*   <#if error??>*
*   <Failed>true</Failed>*
*   <ErrorMessage>${errorMessage!""}</ErrorMessage>*
*   <#else>*
*   <Failed>false</Failed>*
*   </#if>*
*</Request>*
*</#escape>*

My log file:

*<Request id="2,852">*
*   <Service>WFS</Service>*
*   <Version>1.1.0</Version>*
*   <Operation>GetFeature</Operation>*
*   <SubOperation></SubOperation>*
*   <Resources>topp:states</Resources>*
*   <Path>/wfs</Path>*
*   <QueryString></QueryString>*
*   <Body>*
*   &lt;wfs:GetFeature xmlns:wfs=&quot;http://www.opengis.net/wfs&quot
<http://www.opengis.net/wfs&quot>; service=&quot;WFS&quot;
version=&quot;1.1.0&quot; maxFeatures=&quot;20&quot;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot
<http://www.w3.org/2001/XMLSchema-instance&quot>;
xsi:schemaLocation=&quot;http://www.opengis.net/wfs
<http://www.opengis.net/wfs>
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;&lt;wfs:Query
<http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;&lt;wfs:Query>
typeName=&quot;feature:states&quot; srsName=&quot;EPSG:102113&quot;
xmlns:feature=&quot;http://www.openplans.org/topp&quot;&gt;&lt;ogc:Filter
<http://www.openplans.org/topp&quot;&gt;&lt;ogc:Filter>
xmlns:ogc=&quot;http://www.opengis.net/ogc&quot;&gt;&lt;ogc:FeatureId
<http://www.opengis.net/ogc&quot;&gt;&lt;ogc:FeatureId>
fid=&quot;states.44&quot;/&gt;&lt;/ogc:Filter&gt;&lt;/wfs:Query&gt;&lt;/wfs:GetFeature&gt;*
*   </Body>*
*   <HttpMethod>POST</HttpMethod>*
*   <StartTime>2014-11-06T03:34:49.785Z</StartTime>*
*   <EndTime>2014-11-06T03:34:49.805Z</EndTime>*
*   <TotalTime>20</TotalTime>*
*   <RemoteAddr>127.0.0.1</RemoteAddr>*
*   <RemoteHost>localhost</RemoteHost>*
*   <Host>localhost</Host>*
*   <RemoteUser></RemoteUser>*
*   <ResponseStatus>200</ResponseStatus>*
*   <ResponseLength>11900</ResponseLength>*
*   <ResponseContentType>text/xml; subtype=gml/3.1.1</ResponseContentType>*
*   <Failed>false</Failed>*
*</Request>*

The topp workspace is secured.

The client application is Geoexplorer and/or Layer Preview of Geoserver.
-- 
Servicios Computacionales y Asesoría en Sistemas de Información Geográfica
Francisco Javier Avalos Zapata
Ciudad Victoria, Tamaulipas
[email protected]
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to