The logging tag has no wiki summary.
0
votes
1answer
208 views
What languages do Node.js developers primarily come from? [closed]
We're developing a logging framework for Node.js and are deciding on a default set of log levels.
If you're coming from Java it's trace, debug, info, warn, error.
If you're coming from Ruby it's ...
1
vote
1answer
118 views
Log design approach
Logging was always a nightmare for me! Now I have to implement it again for a proxy system.
In this proxy application, some systems ask proxy system to call some other services.
What I have to log is
...
14
votes
6answers
20k views
Why doesn't “object reference not set to an instance of an object” tell us which object?
We're launching a system, and we sometimes get the famous exception NullReferenceException with the message Object reference not set to an instance of an object.
However, in a method where we have ...
0
votes
0answers
128 views
STAF/STAX and python alternative
We are looking into replacing some homegrown pieces and the candidates are:
STAF (http://staf.sourceforge.net/)
anything mature in python
My colleague Kevin has looked into STAF so I am ...
5
votes
2answers
176 views
Is it fine to use logs in the Helper Methods?
I have been doubting for a long time whether or not to have a logger in methods (usually helper methods) like the one below.
Whether we can print it in the method or print the response where the ...
0
votes
1answer
82 views
What factors should I consider when logging a (JSF) web-app?
I've recently read the article The Problem with logging and was wondering about my current logging strategy.
Usualy I use Log4J in my projects and just have to decide which line/attributes I would ...
0
votes
1answer
98 views
Design patterns to avoiding breaking the SRP while performing heavy data logging
A class that performs both computations and data logging seems to have at least two responsibilities. Given a system for which the specifications require heavy data logging, what kind of design ...
1
vote
3answers
136 views
Opinions on logging in multiprocess applications
We have written an application that spawns at least 9 parallel processes. All processes generate a lot of logging information.
Currently we are using Pythons QueueHandler to consolidate all logs ...
1
vote
1answer
57 views
Strategy for clients to retrieve real-time log from HTTP server
I have an HTTP Server Service application which has its own logging mechanism. It's written in Delphi. I would like to provide a way for multiple clients to connect to this service and get a real-time ...
13
votes
4answers
615 views
What is the correct way to handle debug output in Java?
As my current Java projects grow bigger and bigger, I feel a likewise growing need to insert debug output in several points of my code.
To enable or disable this feature appropriately, depending on ...
-2
votes
2answers
198 views
Logging in a web application [closed]
Quick question. I am working on a web application and was wondering that apart from the obvious such as errors, what should be logged in such a web application. The aim here is to log enough data but ...
5
votes
3answers
474 views
Exception Handling Frequency/Log Detail
I am working on a fairly complex .NET application that interacts with another application. Many single-line statements are possible culprits for throwing an Exception and there is often nothing I can ...
4
votes
1answer
419 views
Best Creational Pattern for loggers in a multi-threaded system?
This is a follow up question on my past questions :
Concurrency pattern of logger in multithreaded application
As suggested by others, I am putting this question separately.
As the learning from ...
6
votes
2answers
142 views
Logging in JSON Effect on Performance
I see more and more articles about logging in JSON. You can also find one on NodeJS blog. Why does everyone like it so much? I can only see more operations getting involved:
A couple new objects ...
5
votes
2answers
277 views
Concurrency pattern of logger in multithreaded application
The context:
We are working on a multi-threaded (Linux-C) application that follows a pipeline model.
Each module has a private thread and encapsulated objects which do processing of data; and each ...