Skip to content

Noisy requests to root endpoint in trace log #317

Description

@ben-sagar

This line:

https://github.com/DEFRA/ivory/blob/develop/server/services/cookie.service.js#L9

Is writing out a message to the console four times every minute, at 15, 18, 45 and 48 seconds:

Session cookie not found for page /

This causes a lot of noise in the App Insights trace, making it difficult to diagnose problems.

It is also generally unhelpful to have the root endpoint being repeatedly pinged like this as this also shows as noisy GET requests in the App Insights log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions