The main reason logging is pervasive in the Java world is because of its 
checked exceptions that force you to handle exceptions in places where you 
don't know what to do, so you log the error instead. Horrible, fragile 
practice. Then the process dies and you can look into the log to see 
OutOfMemoryException and NullPointerException everywhere. Just say no. Good 
libraries do not `log`. And good applications write to a database instead. 
Don't store crucial information in some half-assed, unspecified text format 
that you then have to parse with adhoc regular expressions. Just say no. 

Reply via email to