0

In one of our environment commerce engine service logging stops around after 30 mins, it starts again once we reset AppPool for the service. Other than logs there is no issue with service, storefront is able to communicate with it properly (even after it stops logging). This is happening in only one environment. Does anybody experienced same behaviour or any suggestions to look into?

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

1 Answer 1

0

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. 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. Aug 6, 2019 at 5:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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