tech5usa / TLSential

A server for providing short-lived TLS certificates to all services within a firewall restricted network.
GNU General Public License v3.0
15 stars 2 forks source link

Add --debug flag that turns on per request logging in the form of {ME… #62

Closed debus closed 4 years ago

debus commented 4 years ago

…THOD} {PATH} {TIME_TAKEN}

This PR addresses the following issues:

https://github.com/ImageWare/TLSential/issues/51

Context

Currently there is very minimal logging. This aims to add a litte bit

Approach

This PR adds a flag --debug which turns on per-request logging. Each request is first routed to logging middleware that will log {METHOD} {PATH} {TIME_TAKEN}.

Testing

Enabled the flag and went to /ui/dashboard.