Logging provides critical value to applications with insight to usage, stats, and metrics, and saves us when debugging a problem. But we often leave logging to poorly implemented afterthoughts. So what should we know to get the most out of our logging? We will look at the Rails logger and some logging best practices. What Is the Rails Logger? When first learning Ruby, many of us rely on the puts command to log information while debugging code locally. And it is an…