Display All PHP Errors: Basic & Advanced Usage

Juliet Mendez Developer Tips, Tricks & Resources

A PHP application might produce many different levels of earning and errors during its execution. Being able to see these errors is essential for developers trying to troubleshoot a misbehaving application. However, developers often have trouble when trying to display errors from their PHP applications. Instead, their apps just fail silently. If you are having problems with your PHP web …

C# Exception Handling Best Practices

Matt Watson Developer Tips, Tricks & Resources

Welcome to Stackify’s guide to C# exception handling. In this article we cover the following topics: Basics about C# Exceptions, including examples Common .NET Exceptions How to Create Your Own Custom C# Exception Types How to Find Hidden .NET Exceptions C# Exception Logging Best Practices Why is this topic so important? In modern languages like C#, “problems” are typically modeled …

How to Check Website Logs

Michiel Mulders Developer Tips, Tricks & Resources

Have you ever looked at your website logs and realized they don’t make sense to you? Maybe your log levels have been abused, and now every log categorizes as “Error.” Or your logs fail to give clear information on what went wrong, or they reveal sensitive information that hackers may harvest. Fixing these problems is possible! Let’s explore how you …

Log 4Net Guide for .NET Logging

Log4net for .NET Logging: The Only Tutorial and 14 Tips You Need to Know

Matt Watson Developer Tips, Tricks & Resources

If you’ve been writing code for any reasonable amount of time, then it’s virtually impossible that you haven’t handled logging in any way, since it’s one of the most essential parts of modern, “real life” app development. If you’re a .NET developer, then you’ve probably used some of the many famous logging frameworks available for use at this platform. Today’s …

JavaScript Logging Basic Tips

Gaege Root Developer Tips, Tricks & Resources

JavaScript has come a long way in recent years. Browsers are becoming more robust and machines are growing more powerful. Pair this with the recent development of Node.js for execution of JavaScript on servers, and you can understand why JavaScript has exploded in popularity. Developers continue to push the boundaries of what can be done with JavaScript, which leads to ever more …

PHP Performance Monitoring

PHP Performance Monitoring: A Developer’s Guide

Iryne Somera Developer Tips, Tricks & Resources

As PHP applications are getting more complex, it’s becoming harder to deliver high-quality applications. It’s more important than ever to perfect your process for PHP performance monitoring. Tools like Application Performance Monitoring (APM) are essential for the development process. To get good performance data, developers need to deal with the rising trends of containerization, microservices, heterogeneous cloud services, and big data. To …

Rails Logger and Rails Logging Best Practices

Sylvia Fronczak Developer Tips, Tricks & Resources

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 …

PHP Error Log Basics

Gaege Root Developer Tips, Tricks & Resources

When developing PHP applications, error logs tend to be underutilized due to their apparent complexity. The reality is that PHP error logs are extremely helpful, especially when configured and used properly. While there are advanced tricks to truly squeeze every last drop of utility out of error logs, this article will cover the basics of configuration and the most common …

Apache Error Log Explained

Eric Goebelbecker Developer Tips, Tricks & Resources

Many online applications use a web server as the primary point of contact for their clients. At least 43% of those systems are running the Apache HTTP Server. If you’re responsible for one of those systems, you need to work with the Apache error log. Apache provides comprehensive logging via several different files, but the error log is the most important. You can even say …

Logging Levels 101

Carlos Schults Developer Tips, Tricks & Resources

If you’re a software developer, then you understand how vital application logging is in software development and a critical part of logging is something called logging levels. Log entries generally contain essential information—such as a timestamp, a message, and sometimes additional stuff like an exception’s stack trace. Those pieces of information are useful because they allow someone reading the log entry to …

PHP Error Log Guide: Configuration And Use Cases

Gaege Root Developer Tips, Tricks & Resources

When developing PHP applications, error logs are under-used because of their apparent complexity. PHP error logs are helpful, especially when configured and used properly. While there are advanced tricks to truly squeeze every last drop of utility out of error logs, this article will cover the basics of configuration and the most common use cases so you can get up …

Winston Logger Tutorial

Winston Logger Ultimate Tutorial: Best Practices, Resources, and Tips

Lou Bichard Developer Tips, Tricks & Resources

Are you looking to get up and running with Winston logger in Node.js? Do you want to understand best practices (and pitfalls) for structuring application logging in Node.js? If that’s what you’re looking for, you’re in the right place! For me, logging was always a somewhat mystical and frustrating idea. I could grasp the concept that you wanted to output information …

Laravel Logging Tutorial

Kim Sia Developer Tips, Tricks & Resources

Regardless of what language and framework you use, proper logging is crucial to web development. Logging is key when it comes to debugging and performance monitoring. Knowing how to properly use logging frameworks is an essential part of creating high quality software that is easy to debug. In this article, I will provide in-depth coverage on Laravel, which is the …

ELMAH Is Dead. Get More Detailed Exceptions With Retrace

Phil Vuollet Developer Tips, Tricks & Resources, Stackify Product & Company Updates

For many years, ELMAH was the go-to logging utility for ASP.NET. It caught exceptions that came up through the IIS response pipeline and logged them along with contextual information. It also put a subpage on your site that you could visit to view logged exceptions. It was a great tool for catching, logging, and viewing unhandled exceptions for monolithic ASP.NET …

Microservice Logging: Challenges, Advantages, and Handling Failures

Simon Timms Developer Tips, Tricks & Resources

One of the major developments in software design and delivery over the last few years has been a movement away from monolith applications towards microservices. One of the sticking points I’ve seen on numerous microservice applications is logging. There are some unique challenges with microservice logging that need to be addressed. In this article, we’ll look at how we can …

Java Logs: 4 Types of Logs You Need to Know

Thorben Janssen Developer Tips, Tricks & Resources

Logging is an important topic in software development, especially if you need to analyze bugs and other unexpected events in your production environment. Implementing your logging often seems easy. But as you probably experienced yourself, logging is far more complex than it might seem. That’s why you can find lots of articles about it here on the blog. As an …

SLF4J: 10 Reasons Why You Should Be Using It

Eugen Paraschiv Developer Tips, Tricks & Resources

What Is SLF4J and What are the Benefits of Using It? One of the most important aspects of developing an efficient system is to have clean, helpful logs that will help you understand what errors are being triggered, and what information is being processed. When you are first creating an application, you might not know what logging framework will be …

PostgreSQL Performance Tuning Tutorial

Lou Bichard Developer Tips, Tricks & Resources

Setting up the database correctly is just the first step in PostgreSQL performance tuning. With every table you add and every query you run, your databases will require maintenance and updates to ensure ideal PostgreSQL optimization. PostgreSQL optimization is pretty straight-forward, however, there are some things that it needs to know from you, the database admin, in order to run …