Linaro / lite_bootstrap_server

Proof of concept certificate authority and bootstrap server
GNU General Public License v3.0
10 stars 6 forks source link

Add REST API logging #14

Closed microbuilder closed 2 years ago

microbuilder commented 2 years ago

Access requests to the REST API should be logged to detect malicious connections, such as too many requests in too short a duration of time, and just to trace use of the various endpoints.

d3zd3z commented 2 years ago

I would suggest we follow the guidelines of: https://12factor.net/, and just log message to stdout. On a modern cloud environment, our service will be run in a container, and external systems will managing logging all of the services. Even systemd now expects logging to just be done to stdout.