Issue:
Move Test-AMSI to Logger functions.
Added FE detection in case you use a shared name and Check IIS logs.
Reason:
Improve the information and unify the logging functions.
Fix:
Added logger functions.
Analyze X-FEServer header of the request to check logs on the reached server.
Collect the IIS logs configuration to search the request.
Issue: Move Test-AMSI to Logger functions. Added FE detection in case you use a shared name and Check IIS logs.
Reason: Improve the information and unify the logging functions.
Fix: Added logger functions. Analyze X-FEServer header of the request to check logs on the reached server. Collect the IIS logs configuration to search the request.
Validation: Test in lab: Test AMSI Original:![image](https://github.com/microsoft/CSS-Exchange/assets/103440830/b0f143fb-84e5-4c5b-ba81-0fbba5671808)
New Version:![image](https://github.com/microsoft/CSS-Exchange/assets/103440830/64c19004-805e-4cbd-b1ae-8b2c92b32e1e)
Check Configuracion: Original:![image](https://github.com/microsoft/CSS-Exchange/assets/103440830/44a9cd77-1957-459b-860f-65f09ab7112c)
New Version:![image](https://github.com/microsoft/CSS-Exchange/assets/103440830/cb9d8161-bac4-47d9-ba1d-be99206b50e9)
Additionaly now it creates log files:![image](https://github.com/microsoft/CSS-Exchange/assets/103440830/226f3ffc-b204-4556-9c83-4501cc2509f5)