| ▲ | The logging dilemma: keeping debug context without debug noise(blog.assad.fr) | ||||||||||||||||||||||||||||||||||||||||
| 4 points by doolta 10 hours ago | 6 comments | |||||||||||||||||||||||||||||||||||||||||
| ▲ | MiroslavPokorny 9 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
IMHO most logging frameworks support broken or poor selection of messages. The feature i am referring too is named loggers where different loggers have different levels. The problem with this is of course one logger may record ERROR messages but the real details in other loggers are at DEBUG which may be filtered because they also are set to something higher. Im suggesting the solution is support for ideas of capturing all log messages within a transaction if an ERROR message is hit. - new transaction - log DEBUG message 1 - log DEBUG message 2 - log ERROR message 3 - end transaction In the above example my suggestion would be all 3 messages would be logged because 3 happens. In a transaction without "3" 1 and 2 would not be logged. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||