Document Properties
Kbid293B87
Last Modified22-Apr-2020
Added to KB29-Apr-2020
Public AccessEveryone
StatusOnline
Doc TypeGuidelines, Concepts & Cookbooks
ProductIntershop Progressive Web App

Concept - Intershop Progressive Web App - Logging

Logging

nginx

The nginx image providing PageSpeed and multi-channel configuration uses the default logging capabilities of nginx.

Server-Side Rendering

The express.js image serving the Angular Universal Server-Side Rendering can be provisioned to log extended information to the console by supplying the environment variable LOGGING=true.

Information logged to the console contains the following:

  • Requests to the SSR process are logged with morgan (see configuration in server.ts) in the form of:

    <method> <url> <status> <bytes> - <duration> ms

  • Requests handled by the SSR process are logged at the beginning with SSR <url> and at the end with RES <status> <url>.

  • Further the redirect actions of the Hybrid Approach are logged with RED <url>.

  • Uncaught Error objects thrown in the SSR process, including HttpErrorResponse and runtime errors are printed as well.

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets