Easylogging++ – single header only, extremely light-weight high performance logging library for C++ applications
Tag: troubleshooting
sysdig – system troubleshooting for Linux
sysdig – system troubleshooting for Linux
Six Ways to Make Your Production Logs More Useful
Six Ways to Make Your Production Logs More Useful
- Log structured data in a readable format
- Add a dash of color
- Logs let your app communicate with you and your team
- Seriously though, don’t put exception stack traces in your logs!
- Log URLs for easy access to more context
- Add emotional context to your logs
Most of these are somewhat expected, but I emotional context in logs was definitely new to me. I wonder why I’ve never even thought of this.
Online HAR viewer
HTTP Archive Viewer – a handy tool for troubleshooting web pages. Â Here is how to use it:
- Open Google Chrome browser (new tab).
- Press F12 to open Developer Tools.
- Switch to Network tab.
- Load any page in the tab.
- Right-click anywhere over network requests to get a menu.
- Select ‘Save as HAR with content’.
- Choose the location for the HAR file.
Now you can drag-n-drop this file into the HTTP Archive Viewer and study how the page loaded, which requests were made, how much time was spent and how it was spent. Â This is particularly useful for the following scenarios:
- You are about to make some changes to your site, and you want to compare ‘before’ and ‘after’.
- You are troubleshooting a session of a non-technical user, who can’t provide you access to his desktop environment.
Kint – a modern and powerful PHP debugging helper
Kint – a modern and powerful PHP debugging helper