What should an application log?

As an application developer, you have all the liberty to log anything. But are there any guidelines on what is the bare minimum an application should log?

Things like Method entry/exit, method parameters, info logging in the algorithm, exception logs, Transaction time period and so on.

One can log anything, but any guidelines/experience which says the application should log minimum of these things.

Join the debate here
1 Comment To ' What should an application log? '

Post a Comment