Skip to content

Logging #19

Open
Open
@sbcgua

Description

@sbcgua

What kind of logging is required ? And what are the levels?

Currently there is that addInfo that keeps last 10 requests and visible from the frontpage.

In reality I think there are 3 categories of entries:

  • requests (maybe just in "dev" mode) and time of their serving (this what morgan does in the PR)
  • details of check_object (also debug in fact ? or needed for statistics?)
  • errors

I think all of the can go to console. Docker can redirect that to any other service "in production".

On the other hand there is the public service. Do you suppose to leave it ? Anyway I think the logs should be hidden from there and better to redirect it to a logging service, maybe even public one.

@larshp what do you think ?

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