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.
3
votes
1answer
48 views
An extensible logging architecture for Android?
The end goal is to have a variety of data sets that can all be graphically plotted against eachother.
All data should correspond to a date, so that when plotted against each other, they show the ...
1
vote
1answer
171 views
How to design a log() method that can easily be accessed from the outside of the Console class?
Recently my team has programmed a custom developer console in a video game which can easily be hidden or displayed, because it's more comfortable and less of a hassle.
The Console class contains a ...
2
votes
2answers
172 views
When is it okay to log filename/line information for errors?
We have a closed-source commercial C++ application. Some of our logged error messages are in plain English like "ERROR: could not read file 'foo'". While others use a macro to print filename/line ...
1
vote
5answers
241 views
Is SQLite a sensible option for data logging?
I am trying to setup a small data-logging application under linux. The data arrives via serial port, and from there it should be pumped to logging and to graphical display.
The logging functionality ...
-2
votes
2answers
367 views
How to do logging in console application [closed]
I have a simple console application that will be deployed as a scheduled job. Below is its pseudo code
Main(string[] args)
{
//get xml string from database
Reports reports = ...
1
vote
3answers
122 views
Maintaining log stream after file name change
I'm trying to log to a file and move it about every 30 seconds. I'm using the os.rename function (which I do from a supervisord process) in python to move the current log to a timestamped log (which ...
2
votes
1answer
145 views
What is the best way to track / record the current programming project you work on? [duplicate]
I have been in this problem for long time and I want to know how it's done in real / big companies project?
Suppose I have the project to build a website. Now I divide the project into sub tasks and ...
1
vote
1answer
77 views
Is there any reason not to include issue numbers in debug logs?
I was going through the answers to this question:
What information must never appear in logs?
And noticed that nobody mentioned this particular attribute. It's something I find useful- whenever any ...
-1
votes
3answers
152 views
Good logging technique for small projects on Java [duplicate]
When I'm coding small projects, I often use System.out.println to print valuable info. It's simple, easy and gets me info. The only drawback I found is that there is no simple way to disable parts of ...
1
vote
2answers
152 views
Event based logging. Is it a good idea and is it ok to pass a handle to a “logged” object?
Hi I have fairly complex program that is doing computations in a quite large loop. I want to log some basic statistic about the run to be able to analyze its performance over time and vs loop number. ...
2
votes
0answers
58 views
Categorizing log events (logging and set theory) [closed]
It occurs to me that log events are a natural fit for set theory. Log events naturally divide into groups, and a lot of events fall into more than one.
Most of my experience is with java logging ...
2
votes
3answers
96 views
Forcing logger/appender to output line logged at lower than its current level?
Consider the following scenario:
I am writing a Dispatcher Servlet that delegates processing to various handlers depending on the request URL; the handler objects having previously registered ...
1
vote
2answers
163 views
log4cxx: is it a stable option to include as part of distributed library? [closed]
We are porting our Java API library to C++. (Our target platforms are Linux and Windows.) Since we have minimal C++ experience, the learning curve has been pretty steep, but overall we have been able ...
3
votes
3answers
371 views
C++ log every function and parameter values
I want to log every function call and parameter value in my C++ app. Is there a generic approach for this task ? (3rd part library, VAR_ARGS etc.)
3
votes
2answers
554 views
Design pattern for logging changes in parent/child objects saved to database
I’ve got a 2 database tables in parent/child relationship as one-many.
I’ve got three classes representing the data in these two tables:
Parent Class
{
Public int ID {get; set;}
.. other ...