peterldowns / localias

custom local domain aliases for local dev servers
MIT License
583 stars 3 forks source link

Unify logging format #23

Closed peterldowns closed 4 months ago

peterldowns commented 6 months ago

Logs are emitted via manual printing, via caddy, etc. They look really ugly. Figure out a way to redirect and format the caddy logs, and unify with the log prints in the rest of the app. Allow json support and colorization. Clean up some of the noise.

peterldowns commented 5 months ago

The most likely path forward is to just use the caddy logger from the rest of the app, as caddy doesn't make it possible to inject a custom logger.

peterldowns commented 4 months ago

If anyone asks for this I can do it, until then not going to plan on it.