Difference in Auditing and Logging?

GuruKulki picture GuruKulki · Mar 22, 2010 · Viewed 34.3k times · Source

I have been coming across these two words more often but i didn't see much difference in these? I mean want to know are they used interchangeably or there are some differences in those two? Thanks.

Answer

Itay Maman picture Itay Maman · Mar 22, 2010

Logging typically means the recording of implementation level events that happen as the program is running (methods get called, objects are created, etc.). As such it focuses on things that interest programmers

Auditing is about recording domain-level events: a transaction is created, a user is performing an action, etc. In certain types of application (Banking) there is a legal obligation to record such events.