Articles tagged in: Node.js



hapi — Log to File With Good

Assumingly, you agree that application monitoring and logging is an essential part of your application. Within previous tutorials, you’ve already learned about the fundamentals of logging in hapi and how to log to console in your hapi app. This tutorial shows you how to pass and store your log …

Continue Reading

hapi — Zero-Downtime Deployments Using PM2

This isn’t available for hapi v17, yet. The used plugin hapi-graceful-pm2 isn’t compatible with hapi v17. I’ll update this tutorial as soon as there’s a way to work with hapi v17. Promise! The previous tutorial on how to correctly stop your hapi server already teasered another …

Continue Reading

hapi — Log to Console With Good

Logging is an essential component in your application that provides transparency to the behavior of a running system. You’ve various use cases to put your logs to work. By default, hapi doesn’t have a logging mechanism integrated. There are plugins that add the desired functionality and help you …

Continue Reading

hapi — Logging Fundamentals

Logs are an essential part of every application, because they provide visibility throughout the life cycle. Log messages commonly get written to stdout or a file, but that’s just a location of the actual messages. More important is the output format which ultimately helps you to analyze the behavior …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.