Logging is the automatic recording of events in systems, networks and applications, such as logins, failed access attempts, changes to permissions, administrative activities and errors. Each entry records what happened, when, on which system and by which account. To make timestamps comparable, all systems run with synchronized clocks.
Logs help detect attacks, investigate incidents and demonstrate activities to auditors and authorities. For this purpose they are protected against modification, collected centrally and analysed, often with a SIEM. Because logs contain personal data, the organization defines purpose, access and retention period. In Germany, the works council has a right of co-determination for technical monitoring of employees under Section 87(1) no. 6 of the Works Constitution Act (BetrVG) (A.8.15 Logging).