What is an audit log? Audit log vs access log, and access records under KVKK in Turkey
What is an audit log? What it records, how it differs from an access log, what not to log and how to keep personal data access logs under KVKK in Turkey.
An audit log is a record that keeps who did what, when and on which record in a system as a trail that should not be changed afterwards. The access log is the part of it that shows who opened which data. Where personal data is involved, Article 12 of KVKK, Turkey’s Personal Data Protection Law No. 6698, and the guides of Turkey’s Personal Data Protection Authority list keeping records of user actions as a measure; the log itself must also be protected with narrow access.
An employee comes to HR and asks: “Did someone open my personnel file this week?” The HR officer knows who can access the file but not who opened it and when, because no record keeps that information. The same uncertainty shows up elsewhere: why did a permission change, who deleted a record, when was a document uploaded? Every unanswered question pushes the company either towards guesswork or towards an accusatory search. An audit log is the trail kept to answer these questions without guessing; where personal data is involved, it is also one of the measures pointed to by KVKK, Turkey’s personal data protection law, and the guides of Turkey’s Personal Data Protection Authority.
22 October 14:32 — HR specialist (user 214) — Personnel card 1087 — Document viewed. | 22 October 14:40 — System administrator (user 3) — Role “unit manager” — Menu permission added. (Fictional example)
An audit log is a record that keeps who did what, when and on which record or setting in a system, as a trail that should not be changed afterwards. An access log, one type of it, shows who viewed which data. In this article we explain what the log contains, what should and should not be logged, and how a personal data access log can be kept.
What is an audit log, and which fields does it contain?
| Field | What it tells you | Example |
|---|---|---|
| Who | The user who performed the action and their role | HR specialist, user 214 |
| When | Date and time of the action | 22 October, 14:32 |
| What | The affected record, document or setting | Personnel card 1087, “unit manager” role |
| Action | Viewed, added, changed, deleted, approved | Viewed the document |
| Where from | Session or device information for the action | Office computer |
| Before / after | Old and new value of the changed field | Menu permission: none → view |
| Result | Whether the action succeeded or was refused | Successful |
Are an audit log, an access log and a system log the same thing?
They get mixed up in everyday speech, but they answer different questions:
| Log type | Question it answers | Example event | Who reads it |
|---|---|---|---|
| Audit log | Who changed what? | Permission change, record deletion | System administrator, internal audit |
| Access log | Who opened or saw what? | Viewing a personnel document | Data controller, HR officer |
| System log | How did the system behave? | Error, connection drop | IT team |
What should you log, and what should you not log?
Logging everything is not a good strategy: a log too crowded to read is as useless as no log at all. On top of that, the logs themselves carry user information. First decide what will be logged:
- Permission and role changes, with who made them and the old and new values.
- Access to sensitive records (personnel documents, pay and health information).
- Record deletions and bulk changes.
- Failed login attempts and use of administrator accounts.
- Document uploads, version changes and approvals.
There are also things to avoid logging: passwords, the content of documents or the special category data itself, and unnecessary detail. The log should say “this document was viewed”, not contain what the document says. Otherwise the log turns into a second copy of the very data you are trying to protect.
KVKK access logs in Turkey: how do you keep a personal data access log?
Here is what we read in the official Turkish texts on the subject (mevzuat.gov.tr and the guides of Turkey’s Personal Data Protection Authority):
- KVKK (Law No. 6698), Article 12: The data controller must take the technical and administrative measures needed to prevent unlawful access to personal data, and must carry out or have carried out the audits needed to ensure that the provisions of the law are applied within its own organisation. Audits usually rely on logs.
- Personal Data Security Guide (Authority, April 2025): Lists regularly keeping records of all users’ actions (such as log records) so that unusual activity in IT systems can be noticed; it includes access logs and log records among the technical measures.
- Guide on Processing Special Categories of Personal Data (Authority, February 2025): Where special category data is held electronically, it lists securely logging the transaction records of all actions on the data among the adequate measures.
- KVKK, Article 4: Personal data must be kept only for the period set in the relevant legislation or needed for the purpose for which it is processed. Because log records also carry user-related data, their retention period is a decision you define.
Based on these texts, we suggest a simple five-step setup:
- Set the scope: Access to which data categories, and which actions, will be logged?
- Fix the log content: Who, when, what, which action; log the event, not the content.
- Protect the log: Only authorised people can read the logs; users cannot delete their own traces.
- Decide who reads it and how often: Which logs are reviewed regularly, and which only when an incident occurs?
- Write down the retention period: State the period, and how logs are destroyed at the end of it, in your retention and destruction policy.
Who should read the audit log, and how often?
A log that is written and never read is just a file filling up the disk. Rare but critical events such as permission changes can be reviewed at regular intervals by a responsible person; high-volume records such as document access are searched when there is a suspicion or complaint. Being ready to answer when an employee asks “did someone open my file?” is also part of this routine. How much information is shared with the employee requires a separate legal assessment; but if you have the log, you are not guessing when you decide.
How does an audit log help in an incident? A fictional example
One morning a unit manager notices that a leave record for someone on their team has been deleted. In a company without an audit log, this turns into an argument: nobody admits doing it, everyone suspects everyone else. With a log, the answer is found in two minutes: which user deleted the record, on which day and at what time, and what the value was before deletion. Most of the time the result is not bad intent but a mistake made in the wrong menu; the log also makes it easier to correct the mistake and review the permission again.
Can you keep an audit trail with a file server, Excel and a manual logbook?
Some file servers can log access, and in a small team this helps as a start. But distinguishing by document type, keeping permission changes together with old and new values, protecting logs so users cannot delete them and turning them into a readable report are hard. A change list kept by hand in Excel is, by definition, only as reliable as its upkeep: forgotten rows, cells corrected later and notes with no clear author cannot count as an audit trail.
Audit and access logs in KurumsalPortal
In the Menu & Authorization Management module of YazSis KurumsalPortal, every change to role, menu and action permissions is recorded, including temporary permissions granted and withdrawn. With these records, system administrators can check who had which permission and when.
In the Digital Personnel File & HR Management module, access to the personnel file is permission-controlled; access to documents is kept in a document access log, document versions and approvals are stored, and the platform also keeps an audit log. These controls help you set up a KVKK-focused process. Which events are written to the log and in what form log reports are produced is clarified in the needs analysis before setup starts. KurumsalPortal runs on the customer’s own server.
You can see how permission and document access records are kept on the Menu & Authorization Management and Digital Personnel File & HR Management pages.
Frequently asked questions
What is an audit log?
An audit log is a record that shows who did what, when and on which record or setting in a system. It makes events such as permission changes, record deletions and document access traceable.
What is an audit log, and how does it differ from an access log?
An audit log covers changes and critical actions (who changed what). An access log records who opened or saw which data. The two complement each other; some systems keep them in the same log.
Is keeping an access log mandatory under KVKK in Turkey?
Article 12 of KVKK obliges the data controller to take the necessary technical and administrative measures; the Authority’s guides list recording user actions among these measures. Consult your adviser on scope and retention for your own situation.
How do you keep a personal data access log?
Decide which data and actions will be logged; record who, when, what and which action as an event, not the content. Protect the logs against unauthorised changes, decide who reads them and write the retention period into your policy.
How long should log records be kept?
We do not give one period that applies to everyone. Article 4 of KVKK requires personal data to be kept for the period set in legislation or needed for the purpose of processing. Set the period according to your purpose and write it into your retention and destruction policy.
Sources
- Turkish Personal Data Protection Law No. 6698 (Articles 4, 12) – mevzuat.gov.tr
- Personal Data Security Guide (Technical and Administrative Measures), KVKK, April 2025
- Guide on Processing Special Categories of Personal Data, KVKK, February 2025
Last legal review: October 22, 2026
More articles
Preparing reports with AI: what gets automated and what needs checking?
Pasting a table into a chat window and asking for an executive summary is fast, but the accuracy, access rights and repeatability of the numbers are open questions. This article shows where AI helps in reporting and what the system should calculate.
November 25, 2026 · 8 min readTimesheet vs payroll in Turkey: what a timesheet is, its SGK role and how long to keep it
What is a timesheet? In short, an attendance record; payroll is the pay calculation. We cover the difference, the timesheet’s place in Turkish SGK law, the retention period and preparing the data for payroll, based on the official texts.
November 25, 2026 · 8 min readWhat is a digital personnel file in Turkey? Preparing one and the rules on digital storage
A digital personnel file is more than scanning paper folders: it needs document versions, expiry dates, visibility of missing documents and an access log. We explain what to check when you digitise employee files under Turkish rules.
November 25, 2026 · 8 min read