Software Audit – Are Audit and Log the Same in a Software System?

audit

I've seen that some of software systems have functionality of audit and log. Both of those functionality seem that they are just doing the same things – records all the users's actions behind the scene. There are respective tables of audit and log even exist in the database. If they are really doing the same things why the developer developed duplicated function in a system?

Best Answer

From what I have worked on, there is a difference between them based on their nature. A log is (may be) perishable while an audit trail is secure and non-perishable. As a result, you will never log sensitive information or information which you will need later. An audit trail on the other hand, is secure. It is something that should not be perished easily.

For example, in a bank software you will audit the transactions credit-debit, failed transactions etc. This audit will be stored in the database. The log file may save the transaction that crashed when the software failed and did not enter the system.

Related Topic