Skip to main content

Questions tagged [logging]

Computer data logging is the process of recording events in a computer program, usually with a certain scope, in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.

5 votes
3 answers
696 views

I have written a short bash (or POSIX-compliant) script to clean up the Traefik access log file and limit it to a maximum of 50 MB. I would like to know what you think of it. Any suggestions are ...
Tobias Grothe's user avatar
4 votes
2 answers
186 views

One of my latest projects has been implementing a custom .NET logger, as a lot of our products use their own logging solution and we're trying to standardize, but that means accounting for a lot of ...
Scott McAllister's user avatar
6 votes
3 answers
276 views

I've developed a Python script that automates the management of GitHub labels. It utilizes both the GitHub GraphQL API (to fetch label data) and the REST API (to update, delete, and merge labels). The ...
kiaora's user avatar
  • 141
5 votes
3 answers
414 views

I have implemented my own logger based pimpl idiom. As a third party lib, I used spd log. My focus is to provide an interface to the end user who wants to print multiple parameters at once. I also ...
Cabbas's user avatar
  • 161
4 votes
1 answer
296 views

What it does The code creates a logger class which instantiates a circular buffer at construction and uses producer-consumer style approach using condition_variable to log and print the messages to ...
wwite's user avatar
  • 83
2 votes
1 answer
105 views

I'm writing a web bot using puppeteer and I'm logging (using winston) every action the bots does and running it inside try/catch blocks. For automating these processes and avoiding code repetition I ...
lapdoggo's user avatar
3 votes
1 answer
180 views

This is intended for temporary ad-hoc changes to logging config, for example when debugging etc. Also included are functions to easily manipulate config from a code (for example at the beginning of a ...
morgwai's user avatar
  • 389
4 votes
2 answers
234 views

Source Code I've attempted to create a simple logging library in cpp. My goal was to make it lightweight to incorporate and easy to add to the codebase. ...
Saphereye's user avatar
  • 233
3 votes
1 answer
126 views

Now I have this repository. It's a key logger logging all the keyboard events possible. Note that some programs do not "leak" the keyboard events outside of their GUI. For example, Notepad++ ...
coderodde's user avatar
  • 32.3k
3 votes
1 answer
72 views

This logger is for a game engine I'm writing it has a core side which is the game itself and a client side which is the engine. The architecture of the code I feel like is messy it has the main log ...
rrandel's user avatar
  • 55
2 votes
1 answer
176 views

So I'm making a logger for a program and it has 6 levels increasing severity and things I don't think its as memory efficient as it could be but I'm just getting into c++ and memory coding. I feel ...
rrandel's user avatar
  • 55
3 votes
1 answer
122 views

I've got this idea (based on experience) that logging plain messages isn't just enough to monitor an application so I built an abstraction layer on top of the built-in ...
t3chb0t's user avatar
  • 44.7k
4 votes
1 answer
261 views

I started learning C++ recently for game development, and decided to write my own little library for debugging. Here is the library (snoop.hpp) ...
Marc's user avatar
  • 43
4 votes
1 answer
105 views

I use the below code to include context specific information in logging record (see obj). ...
user avatar
2 votes
1 answer
945 views

I like the simplicity of EnsureSuccessStatusCode for HttpResponseMessage after a call using ...
Vaccano's user avatar
  • 327

15 30 50 per page
1
2 3 4 5
23