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 …
Ultimate log4j Tutorial for Java Logging – Best Practices, Resources and Tips
Logging is a critical feature of any application. In this tutorial we will cover some log4j best practices that can help you get started and improve how you do logging with log4j. What is log4j and why should you use it, or any Java logging framework? A logging framework is important for any Java/J2EE based application. By changing the configuration, …
Where Are IIS Log Files Located? How to View IIS Logs on Windows & Azure
Not sure where your IIS log files are located? No problem! For a standard Windows Server, the default log location is: %SystemDrive%\inetpub\logs\LogFiles If your IIS logs are not stored in the default location, follow these directions below to look up where they are currently being stored. We also have directions below for Azure App Services & Cloud Services. Where Are …
Java Best Practices for Smarter Application Logging & Exception Handling
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. …
Where to Find Azure App Service Logs for Your App, IIS, Failed Request Tracing, etc
Troubleshooting application problems are difficult. It takes a lot of time. I would argue that it might be the thing that we developers spend most of our time on in the cycle – write some code – F5 – find out why it didn’t work – fix – F5…. And that’s just troubleshooting locally on your own machine. When your …
How to Use LoggerFactory and Microsoft.Extensions.Logging for .NET Core Logging With C#
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 …
How to Configure log4net for .NET Core
Recently the log4net team published new NuGet packages that support .NETStandard 1.3, which means it should work with .NET Core. I decided to spend some time today to make sure our Stackify logging libraries work with log4net and .NET Core. We already published updates for NLog and Serilog. It was about time we had log4net support out there as well. …
ASP.NET Core Logging Tutorial – What Still Works and What Changed?
If you are getting started with ASP.NET Core, you are probably wondering what has changed with logging. In short, the answer is both nothing and everything. The common logging libraries you have always used with .NET still work. Microsoft does provide its own interface for logging with .NET Core and it uses it for .NET internals. In this article, we …
What Is Structured Logging and Why Developers Need It
Log files are one of the most valuable assets that a developer has. Usually, when something goes wrong in production the first thing you hear is “send me the logs”. The goal of structured logging is to bring a more defined format and details to your logging. We have been practicing structured logging at Stackify for quite a while and …
The Best Log Viewer for Developers in the Universe
It is hard for developers to imagine troubleshooting applications problems without debug logging. When all else fails and you can’t figure out what your code is doing, our answer is to always add more logging. But unfortunately, log files can a spaghetti style mess thanks to lots of web requests happening at a single time. Prefix can organize your logging …
Finding Hidden Exceptions in Your Application with Prefix
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. There are 3 types of exceptions: Unhandled – the user got a …
What is APM? Overview, Common Terms, and 10 Critical APM Features
APM refers to application performance management or application performance monitoring and is an essential tool to help optimize and monitor the performance of your apps. You could argue that application performance management and application performance monitoring are the same things. Conversely, it could be argued that management infers being more proactive and monitoring only being reactive when it comes to the …
Log tagging creates smarter application logs #awesomelogs
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 …
Carbonite: “We turned on Retrace, within minutes we’ve identified the performance issue”
” We turned on APM+ and within a couple of minutes were able to identify the issue and a few hours later push out a fix.” Who is Carbonite? Carbonite is a leading provider in backup recovery and archiving solutions for small businesses and home users. We fuel continuity by providing powerful yet simple tools to help keep businesses in …
3 Data Sets That Bring Context to Exceptions
Even the smallest exception can cause material damage to your company’s operations, which, in turn can have repercussions on revenue. So it’s obviously important to have a grasp on your plan to track and troubleshoot exceptions. It seems like a simple enough process – the exception is raised, you look at it, and then make changes to your app so …
How to Take Logging to the Next Level With Improved .NET Logging Best Practices
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 …
Tail a Log File on Windows & Linux
It turns out there are a bunch of people on StackOverflow looking for ways to tail a log file, but there don’t appear to be many resources for all the different tips and tools to do this. If you’re a Java or .NET developer, just getting started with tailing log files, or a seasoned developer who needs something quick and easy to set …