Java Software Errors and How to Fix Them

Top Java Software Errors: 50 Common Java Errors and How to Avoid Them

Angela Stringfellow Developer Tips, Tricks & Resources, Insights for Dev Managers Leave a Comment

There are many types of errors that could be encountered while developing Java software, from, but most are avoidable. We’ve rounded up 50 of the most common Java software errors, complete with code examples and tutorials to help you work around common coding problems. No worries, no SPAM. Opt-out anytime. For more tips and tricks for coding better Java programs, …

How Log4J2 Works: 10 Ways to Get the Most Out Of It

Eugen Paraschiv Developer Tips, Tricks & Resources Leave a Comment

Log4j2 is the updated version of the popular and influential log4j library, used extensively throughout the Java ecosystem for so many years. Version 2.x keeps all the logging features of its predecessor and builds on that foundation with some significant improvements, especially in the area of performance. No worries, no SPAM. Opt-out anytime. And of course, given how instrumental logging …

DotNet Errors and How to Fix Them

Top .NET Software Errors: 50 Common Mistakes and How to Fix Them

Angela Stringfellow Developer Tips, Tricks & Resources Leave a Comment

Developing in .NET provides several powerful benefits, including less overall code, improved security, ease of updates/changes, and language independence. No worries, no SPAM. Opt-out anytime. That said, the system isn’t without errors and problems. From common exceptions to coding mistakes to incorrect assumptions, most of these issues come down to programmer error. The list below shares the 50 top .NET …

Java Logging Sins

9 Logging Sins in Your Java Applications

Eugen Paraschiv Developer Tips, Tricks & Resources Leave a Comment

Logging runtime information in your Java application is critically useful for understanding the behavior of any app, especially in cases when you encounter unexpected scenarios, errors or just need track certain application events. No worries, no SPAM. Opt-out anytime. In a real-world production environment, you usually don’t have the luxury of debugging. And so, logging files can be the only …

What are Docker Logs?

Docker Logging 101: Best Practices, Analytics Tools, Tutorials, and More

Angela Stringfellow Developer Tips, Tricks & Resources Leave a Comment

For troubleshooting code, few things are more valuable to developers than logs. That’s just one reason we built Retrace, which combines logs, errors, and code level performance in a single pane of glass to give you the insights you need to quickly identify and rectify the source of problems. With the widespread popularity of Docker’s container-based solution for apps, it’s …

C# Exception Handling Best Practices

Matt Watson Developer Tips, Tricks & Resources, Live Queue Leave a Comment

Welcome to Stackify’s guide to C# exception handling. In this article we cover the following topics: No worries, no SPAM. Opt-out anytime. 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 What is an Exception? Exceptions are a type of …

Java Best Practices for Smarter Application Logging & Exception Handling

Eric Martin Developer Tips, Tricks & Resources Leave a Comment

Logging: We Should be Doing This Better by Now! What do I mean? There are lots of Java logging frameworks and libraries out there, and most developers use one or more of them every day. Two of the most common examples for Java developers are log4j and logback. They are simple and easy to use and work great for developers. …

Microsoft.Extensions.Logging

How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

If you have used .NET Core, you have probably battled with the new built-in .NET Core LoggerFactory which is in Microsoft.Extensions.Logging. It has created a lot of confusion around logging with ASP.NET Core. At Stackify, we have logging integrations for log4net, NLog, Serilog, and our direct API. We have a lot of experience with building logging appenders and libraries to work with various …

Finding Hidden Exceptions in Your Application with Prefix

Matt Watson Developer Tips, Tricks & Resources Leave a Comment

Prefix enables developers to easily see what their code is doing as they write and test their code, including SQL queries, HTTP calls, errors, logs, and much more. One of the best features of Prefix is its ability to see all of the exceptions that are occurring in your code. No worries, no SPAM. Opt-out anytime. There are 3 types of exceptions: …

Log tagging

Log tagging creates smarter application logs #awesomelogs

Dusty Kline Developer Tips, Tricks & Resources Leave a Comment

How many combined log statements do your applications and infrastructure produce in a day? 50,000? Over a million? Here at Stackify, our applications generate around 100 million log entries every day. Even after feeding them into Stackify’s powerful log management and filtering tools, it can be difficult to distill things down into meaningful, actionable diagnostics with an incredibly high volume …

C# Logging Best Practices

How to Take Logging to the Next Level With Improved .NET Logging Best Practices

Jason Taylor Developer Tips, Tricks & Resources Leave a Comment

Logging. We should be doing this better by now! What do I mean? There are several logging frameworks and libraries out there, and most developers use one or more of them every day. A few examples off the top of my head for .Net developers are log4net, NLog, elmah, and Serilog. They are simple, easy to use and work great for …