Select to view content in your preferred language

Server Object Interceptors

1169
2
04-21-2023 03:29 AM
Labels (2)
Shanmukha_KumariVattem
New Contributor

We have create a project in C# for Server Object Interceptors (SOI) for getting server logs who opened services.

and added extension file in server manager extension as below screen.

Shanmukha_KumariVattem_0-1682072281066.png

And enabled interceptor in service capabilities interceptors section as in below screen

Shanmukha_KumariVattem_1-1682072440644.png

 

But we are unable to see the logs in server logs who opened the service like username 

 

Ans also we have enabled for write the logs in JSON file in service capabilities but it is not writing into that file 

Shanmukha_KumariVattem_2-1682072727349.png

 

 

0 Kudos
2 Replies
nicogis
MVP Alum

see this sample arcgis-enterprise-sdk-resources/Samples/dot net/SOI/NetSimpleLoggerSOI at master · Esri/arcgis-enter...

Anyway in the log you see the level you have enabled. If you set 'warning' you don’t see 'info' logs but only error and warning.

 

0 Kudos
SFurey
by
New Contributor

For anyone still interested, the link above does not work, here's a link to the simple logger example

https://github.com/Esri/arcgis-enterprise-sdk-resources/tree/master/Samples/dot%20net/SOI/SimpleLogg...

0 Kudos