I am trying to configure logging in my EPI application so I can view logs in the PAAS portal log streams. I have searched the forums and cannot find documentation on how this must be configured to work there. I have a log statement according to this documentation: https://world.episerver.com/documentation/developer-guides/CMS/logging/
I have the default EPiServerLog.config file in my project which is logging files locally but not in the PAAS portal log stream. I'm hoping to see server errors with stack traces.
On DXP The best way to see errors and information is Application Insights as that covers a lot more information such as stack traces and profiles. As far as logs on the PASS portal goes Episerver automatically sets the TraceLoggerFactory which should output any logging information. This should be setup but you can find more info here https://world.episerver.com/documentation/developer-guides/digital-experience-platform/development-considerations/logging/. If you think there are configuration issues on your DXP instance I'd raise a ticket through Episerver support