Image Server download files log

319
2
04-27-2021 08:53 AM
BorjaParesFuente
New Contributor II

Hi all,

After configuring debug level for logs in ArcGIS Server, and performing some file downloads from Image Server service, the log doesnt show any information about the file operation that has just executed. It only shows the user name and the name of the service, neither the file operation name nor the name of the file to download.

https://serverXXX/server/rest/services/desarrollo_OWNER_Test/ImageServer/file?id=.\\folder\raster.tif&rasterId=1

Is there a way to retrieve the name of the file to download from logs?

 

<Msg time="2021-04-27T17:48:06,412" type="FINE" code="8522" source="Server" process="24784" thread="28" methodName="WebSecurityManager.authenticate" machine="" user="0123456789ABCDEF::siteadmin" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">HTTP Referer: Not Available</Msg>
<Msg time="2021-04-27T17:48:06,413" type="INFO" code="9029" source="Rest" process="24784" thread="1" methodName="" machine="" user="" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">Request user: siteadmin, Service: desarrollo_OWNER_Test/ImageServer</Msg>
<Msg time="2021-04-27T17:48:06,414" type="DEBUG" code="9999" source="Server" process="24784" thread="28" methodName="" machine="" user="" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">RediscoveryAppServer handleRequest called. FQSN: desarrollo_OWNER_Test.ImageServer</Msg>
<Msg time="2021-04-27T17:48:06,415" type="DEBUG" code="9999" source="Server" process="24784" thread="28" methodName="" machine="" user="" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">In processServiceRequest in GenericServiceActor. Current router size: 1</Msg>
<Msg time="2021-04-27T17:48:06,415" type="DEBUG" code="9999" source="Server" process="24784" thread="28" methodName="" machine="" user="" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">handleRequest() in com.esri.arcgis.discovery.admin.rediscovery.service.ArcSOCGISService called for service: desarrollo_OWNER_Test.ImageServer</Msg>
<Msg time="2021-04-27T17:48:06,415" type="FINE" code="7615" source="Server" process="24784" thread="28" methodName="" machine="" user="" elapsed="" requestID="23954876-53d3-43a6-8c87-f7f220204277">Wait time for 'desarrollo_OWNER_Test.ImageServer' service request is 0 milliseconds.</Msg>

Regards

Borja

 

0 Kudos
2 Replies
DavidPike
MVP Frequent Contributor

Where are you browsing the logs from?

0 Kudos
BorjaParesFuente
New Contributor II

Hi David,

Those are from ArcGIS Server logs C:\arcgisserver\logs\server_name\server.

I could retrieve more information from the IIS logs (through ArcGIS Webadaptor).

2021-04-27 15:26:06 W3SVC1 SERVER10.29.157.17 GET /server/rest/services/desarrollo_OWNER_Test/ImageServer/file id=.\\folder\\image.tif&rasterId=1 443 - 10.29.157.17

Enabling the cookie in IIS logs, I can read the user that performs the REST operation.

I was wondering if all the information could be stored within the ArcGIS Serer logs, so I could only have to query only one datasource.

Regards

Borja

 

0 Kudos