51 days ago · Tech · hide · Fediverse post

Here is a small tip that has saved me a lot of time: Always log your entire parsed configuration when your service or application boots. Or at least, support logging it through a verbose logging level. In practice, this can be logging the entire parsed YAML structure1, your config struct, or all the variables you have set from environment variables. No matter how you load your configuration, log it (but mask your secrets).

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town