Server Object Interceptors

514
1
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
1 Reply
nicogis
MVP Frequent Contributor

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