Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some good techniques for logging your applications?

Tags:

logging

Logging can get complicated, quickly. Considering that you have some code, how do you add logging to it? What library(ies) do you use?

What are some good code techniques for getting the most out of your logging statements while having minimal impact on your application?

like image 784
casademora Avatar asked Oct 07 '08 15:10

casademora


2 Answers

Tool for viewing Log4X logs: ChainSaw

like image 104
Lou Franco Avatar answered Oct 17 '22 14:10

Lou Franco


There has been quite some discussion on this in other questions. If you a C# man take a look at What is the best logging solution for a c# net 3.5 project or What’s your logging philosophy?

Search for Logging and you will find many more. :)

like image 43
FryHard Avatar answered Oct 17 '22 12:10

FryHard