0

In one of our e-commerce engine service environments, logging stops after about 30 minutes. The logging starts again once we reset the AppPool for the service. Other than the logs, there is no issue with the service. The storefront is able to communicate with it properly even after logging stops. This issue is only occurring in one environment.

Has anyone else experienced similar behavior or have any suggestions on what to look into?

3
  • did you set on app pool for that site the setting Start Mode: AlwaysRunning ? Commented Aug 2, 2019 at 13:00
  • are you talking about commerce minions role? Commented Aug 2, 2019 at 13:02
  • no it is authoring role. Commented Aug 2, 2019 at 13:09

1 Answer 1

1

There is no issue with logging since it logs on app startup. I faced the same issue with our Commerce instance. It was just logging at app startup but nothing after that even though the requests were being successfully executed. Just change your Minimum Default log level under config.json (config.Development.json if Development environment). It should be 'Information' and not only 'Warning' (Default case). Hope it helps!

2
  • Thanks Durgesh, but log level is already Information and it is happening with Authoring role, which is right now configured with Sitecore as commerce engine endpoint. we can see logs updating for 30 mins so that means logging is working after startup. Commented Aug 4, 2019 at 12:20
  • That's weird. In order to narrow down the issue (whether IIS blocks I/O requests or application has something to do with it), can you try accessing the Commerce Auth Engine APIs through Postman (after 30 mins) and see the logs. If it logs, this will confirm that there is no issue from application end (CommerceAuth instance) and it has something to do with IIS. Please also check your Event logs after 30 mins. to ensure that there is no unhandled exceptions generated. Commented Aug 6, 2019 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.