X-Road full logging vs metadata logging

Full logging keeps the evidence needed for disputes and audits, while metadata logging reduces the personal data and storage held in the message log. This page shows how to choose the mode per Security Server or subsystem and what each choice gives up.

On this page

X-Road full logging vs metadata logging: which mode your Security Server needs

The message log decision comes down to three choices for each Security Server or subsystem. Full logging keeps message content as evidence, metadata logging keeps the envelope facts about each exchange while reducing the personal data stored, and disabling the log removes the record of exchanges entirely. Because the setting applies per Security Server or subsystem, one member can run full logging for a service whose disputes need proof of content and metadata logging for a service that carries personal data it does not need to keep in the body. Confirm the exact mode names and where they are set in the release you run. The current release is 7.8.3, the supported versions are 7.8.3, 7.7.4 and 7.6.5, and X-Road 8 is still in beta, so the options on your server may differ from what a newer guide describes.

Full logging fits a service where a dispute or audit may need to show what was actually exchanged, such as instructions or official decisions passed between organizations. The cost is that message bodies, which may contain personal data, are stored, so the record falls under your GDPR obligations, including security of processing under Article 32, and grows the database and archives you must back up and retain. Metadata logging fits a service whose bodies carry personal data you do not need as evidence. Confirm which fields it keeps, since that determines what a later dispute can still prove. Disabling the log fits only where no exchange evidence is required, because no later review can rely on a record that does not exist. Decide per subsystem and record the reason.

Before you change any setting, check three things in your environment. First, confirm the mode names, the defaults, and whether a change applies to existing log records or only to new ones, using the documentation for the release you run, starting from the X-Road releases page. Second, list each Security Server and subsystem with the services it carries and the evidence each one needs. Third, write the chosen mode into your retention and data protection records, because a later change of mode alters what can be proven for that period. Test the mode on a non-production Security Server first to see which fields actually appear in the log before you rely on them.

How X-Road full logging vs metadata logging changes what is written per message

The diagram starts with a consumer information system sending a service request to the consumer Security Server. That server forwards a signed request across the network to the provider Security Server, which calls the provider information system. The response travels the same path back. Each Security Server writes one message log entry inside its own organization's trust boundary. That entry is either full, keeping the message content, or metadata, keeping only envelope facts such as parties, service and time. Signed archives are created later from these logs, so the mode chosen for each subsystem decides what the archive can later prove. Check the mode on both sides before you rely on the record.

Each Security Server writes its log entry before archiving.

Logging modes side by side and when each fits

This table compares full logging, metadata logging and logging disabled on what the message log keeps, the evidence it can support later, its privacy and storage effects, and the services each mode suits. Read each column as a trade-off: the more message content is recorded, the stronger the evidence and the heavier the privacy and storage burden. Disabling logging removes the message record entirely, so it should be a deliberate, documented choice for each Security Server or subsystem.

AspectFull loggingMetadata loggingLogging disabled
What is keptMessage metadata and the full message content of each exchangeMessage metadata only, such as parties, service called and identifiers; no payloadNo message records written for exchanges handled by the scoped component
Evidential valueStrongest record, since the disputed content itself can be shown and comparedShows that an exchange happened, between whom and when, but not what it saidNo X-Road record of the exchange; proof depends on other systems and parties
Privacy effectPayloads that contain personal data are stored, so retention, access and security duties apply to the logLower exposure, because payload content is not stored in the message logNo message-level personal data in the log, but no exchange record either
Storage growthGrows with message volume and payload size, usually the largest demand on the databaseGrows with message count, with much smaller records per exchangeNo growth from message logging; other server logs still grow
Typical fitServices where the content of a disputed exchange may need to be shown laterServices where proof of the exchange matters more than its content, or payloads are sensitiveTest or sandbox components, or services whose owner has documented that no record is needed
ScopeSet per Security Server or per subsystem; confirm which level your release appliesSet per Security Server or per subsystem; confirm which level your release appliesSet per Security Server or per subsystem; confirm which level your release applies
Configuration checkConfirm the exact setting name and location for this mode in the Security Server configuration for your releaseConfirm the exact setting name and location for this mode in the Security Server configuration for your releaseConfirm the exact setting name and location for this mode in the Security Server configuration for your release

What full logging keeps that metadata logging cannot

Full logging matters when a dispute asks what was sent and received, because the answer is the message content itself. With full logging, the Security Server keeps the request and response payloads for each exchange, and the signed containers, timestamps and archive files are built around that stored record. A metadata entry can show that a call took place between two members at a given time, for a given service and query identifier, but it cannot show what the payload said or what a party actually received. Before choosing a mode, ask your legal and compliance team which claims your service must be able to answer and whether a metadata record would satisfy them. Then confirm in the X-Road documentation exactly which artifacts still verify when no message body was stored.

The trade-off is personal data. Payloads often contain names, identifiers, contact details, or case and financial records, so a full log becomes a store of personal data that the organization must protect and justify. That brings in the GDPR duties on security of processing in Article 32, which expect appropriate technical and organizational measures for the log database, the archive files, the backups and the admin accounts that can read them. Chapter IV sets the controller and processor obligations, so if a partner operates the Security Servers, the roles, instructions and security responsibilities must be written down before the logs start filling. The data minimization principle pulls the other way: keep only what the evidence purpose needs, and set a retention period for payload content separately from the one for metadata.

The GDPR does not require an audit, an attestation or a certificate for either mode. Certification under Article 42 is voluntary, and even a certificate does not reduce the controller's or processor's responsibility for compliance, so no outside document can settle the choice for you. The mode decision is a design decision the organization must document. For each Security Server or subsystem, record the chosen mode, the reason the service needs it for its evidence obligations, who can read payload content, how long it is kept, how it is protected and when the decision will be reviewed. Keep this record with the processing documentation your data protection and security teams maintain, so that an assessor or supervisory authority who asks why content is stored can follow the reasoning. The regulation text is available in Regulation (EU) 2016/679 on EUR-Lex.

X-Road full logging vs metadata logging trade-offs in practice

Each card names a decision that is easy to get wrong when choosing the message log mode for a Security Server or subsystem. The risks range from evidence you can no longer produce to personal data kept longer than intended. Read each trigger alongside its mitigation, and check both against your own dispute, privacy and capacity requirements before you change a mode.

Lost evidence for disputed services

Metadata logging records the exchange details without the message body, so a service that may be disputed later can leave you unable to show what was actually exchanged. The trigger is a service whose contract, fees or data obligations a counterparty or regulator could challenge. Before choosing metadata mode, list the services that need full content as evidence, keep those on full logging, and confirm with legal counsel how long their logs must be kept.

Personal data kept in full logs

Full logging stores message content, and that content can include personal data about people named in a request or response. The trigger is a service whose payloads carry identifiers, health or financial details, which then persist in the message log and its archives for as long as retention applies. Ask your data protection officer whether the lawful basis and retention period cover that copy, then decide whether metadata mode, body encryption or a shorter retention period fits the service.

Storage growth beyond installation minimums

The installation minimums describe what a Security Server needs to start and say little about how fast its message log grows under your traffic. Full logging writes every message body, so database and archive storage grow with payload size and message volume. The trigger is a busy service with large payloads or long retention. Measure the message log over a representative period on your own traffic, then plan storage and archive transfer before enabling full logging on high-volume services.

Gap when logging is disabled

Disabling logging for a subsystem stops message log entries for that subsystem's exchanges, so the period it was off leaves no record to produce. The trigger is often a performance concern or a troubleshooting change that is never reverted. Record the change and its reason in your change process, set a review date, and confirm what the audit log captures in your version so the gap is visible to auditors.

Inconsistent modes across Security Servers

An organization can run several Security Servers, and each one holds its own log mode setting. The trigger is a mode set node by node during a rollout, so the same service logs fully on one server and only metadata on another. The evidence then depends on which server handled the request. Keep a register of the mode for every Security Server and subsystem, check it in configuration reviews, and recheck it after adding nodes to a high availability design.

Mode change affects new traffic only

A change of mode applies to messages exchanged after the change, so earlier traffic keeps the logging it was recorded with. The trigger is a switch made once a dispute is already expected, which leaves the disputed period with the old record. Decide modes before a service goes live, document the exact cut-over time, and keep archives for the earlier period under the retention rules that applied then.

Choosing the mode by data sensitivity and exchange type

Illustrative situation: a health or benefits service exchanges records that identify individuals, some of which may be special-category data under the GDPR text on EUR-Lex. The usual reasoning favors metadata logging, because full message bodies would copy sensitive personal data into the message log, its database and every archive. That widens the set of systems that need access controls, encryption and retention rules. Security of processing requires measures suited to the risk, and a smaller stored data set is easier to justify to assessors.

  • Minimization in the log: Ask whether the message body is needed to prove the exchange, or whether identifiers, timestamps and service and query IDs would answer the question.
  • Questions for the data owner: Which fields are personal data, which are special-category, and who is the controller on each side of the exchange.
  • Questions for the legal lead: What lawful basis covers storing message bodies in the log, and how long the log and its archives must be kept.
  • Evidence to keep: A signed decision record naming the mode for each Security Server, the data categories considered, the approver and the date of the last review.
  • Partial full logging: If full logging is still needed for a subset of services, record the access, encryption and archive handling that applies to that subset.

Check the decision against the processing records your organization already keeps for the exchange, and confirm that the chosen mode matches what those records say is stored.

Setting the message log mode per Security Server or subsystem

This sequence takes each Security Server and subsystem from an inventory of its data to a tested message log mode with a named owner. Each step ends with a check you can repeat, so the production setting matches what the data owner approved. The sequence also sets review points for when services or data classes change.

  1. Inventory services and classify their data

    Start by listing every Security Server, the member subsystems it serves and the services each subsystem publishes or consumes. For each service, record the kind of data its messages carry, whether that data is personal, contractual or otherwise sensitive, and who owns it. The output is a register with one row per subsystem and service. Check: a reviewer picks three services at random and confirms each has a data class and a named owner in the register.

  2. Decide the mode with each data owner

    For each Security Server and subsystem, the data owner and the platform operator decide together whether messages are logged in full, logged as metadata only, or not logged. Full logging keeps message content as evidence for disputes and audits. Metadata logging keeps the exchange record without message content, which limits the personal data held in the log; confirm the exact scope in the next step. Turning logging off removes the record that an exchange took place, so the data owner must justify that choice in writing. Check: every register row has one mode and a written justification signed by the data owner.

  3. Confirm logging options in release documentation

    Read the documentation for the exact release you run before you change anything. The current X-Road release is 7.8.3, and 7.7.4 and 7.6.5 are also supported, so use the guidance that matches your version. Check the X-Road releases page for the release you run. Confirm which message log modes exist, whether each can be set per Security Server or per subsystem, what each mode keeps, and where each setting lives. Record those answers in your change file. Check: a test Security Server on the same version shows each mode in the location the documentation names.

  4. Change the mode on a non-production server first

    Apply the proposed mode on a non-production Security Server that runs the same release and has a similar subsystem layout. Before you change it, write down the current setting so you can restore it if the test fails. Make the change through the interface or configuration method confirmed in the previous step, under your normal change record. Check: the setting reads back as intended in the admin view, and the change record shows the previous value.

  5. Exchange test messages and inspect log entries

    Send test requests through each subsystem while the mode under evaluation is active. Include a successful request, a request that returns a fault, and a request whose payload contains dummy personal data created for the test. Open the message log after each test and compare the entries with what the mode should produce. Check: every test message has an entry, message content appears only where the mode keeps it, and the dummy personal data is absent when metadata mode is active. If you are testing disabled logging, confirm that no entries appear and write down which evidence can no longer be reconstructed.

  6. Roll out to production under a planned change

    Schedule the production change with the operator of each Security Server and the data owner, then apply the approved mode using the same steps you tested in the non-production environment. Keep the previous setting available for rollback until the first production messages have been checked. Tell the teams that rely on the message log which evidence is kept from the change date onward. Check: on each production Security Server, the setting matches the register, and the first live exchanges show the expected entries.

  7. Record the decision with its owner

    Write one decision record for each Security Server and subsystem. Include the mode, the data class, the legal or contractual reason the data owner gave, the date of the change, the person accountable for the setting and the approver. Store the records where your security and compliance teams can review them, alongside the register from the first step. Check: each record names a person who can be contacted, and a spot check of three production servers finds that the live setting matches its record.

  8. Schedule a review when services change

    Set review triggers in your change process: a new service or subsystem, a change in the data a service carries, a change of data owner, and an upgrade to a release that changes logging options. When a trigger fires, repeat the first five steps for the affected subsystems and update the decision record. Agree the regular review interval with each data owner and record the date of the next review. Check: the triggers appear in the change process, and each decision record shows a next review date.

Protecting the message log whichever mode you choose

The message log is only as trustworthy as the servers and accounts around it. Whichever mode you choose, the same administrators and paths can read, change or remove what the log holds, so these controls decide who can see the log, how administrators prove who they are, and where the data sits.

Separate duties with Security Server roles

The Security Server splits administration into roles, and four matter most for the log: Security Officer, Service Administrator, System Administrator and Security Server Observer. Give each person only the role their duty needs, and avoid giving one person every role that can change services and view log data. In full mode, the roles that can view log data determine who sees message content, so confirm this in your version's user guide before you assign anyone.

Admin login through PAM and SSSD

Security Server admin users authenticate through PAM, so the login policy follows the host's standard authentication setup. You can connect LDAP through SSSD and map LDAP groups to X-Road roles, which lets the directory handle joiners and leavers. Test a removed user's login after each group change, because an account that still authenticates after leaving is a gap in who can alter the log.

Security Server user guide

Lockout and password length

Account lockout and password length limit how easily someone can guess their way into an administrative account. The hardening guide recommends a lockout after failed logins and a minimum password length for admin accounts. Apply these settings on the host that runs the Security Server, and verify them after each OS update or PAM change, since a later change to the authentication stack can silently relax them. Pair the policy with a documented owner for lockout releases so that a locked admin is not unlocked informally during an incident.

Lockout period
15 minutes
Minimum password length
16 characters
Hardening guide

Key-only SSH for host access

Administrators reach the Security Server host over SSH to manage the operating system beneath X-Road. Key-only SSH turns off password logins, so a stolen or guessed password cannot open a shell on the server that holds the log. Issue one key per administrator, keep private keys on managed workstations, and remove keys when people change roles. Test a password login from a non-key client, which should fail. Include the SSH path in your access review, since it can reach the same files as the admin UI.

Database that holds the log

The Security Server requires PostgreSQL, either local to the server or remote, including managed services such as AWS RDS and Azure Database for PostgreSQL. The log and its backups sit in that database, so the database account, network path and backup copies are part of the log's protection, not just the server's. Restrict network access to the Security Server, use a dedicated database account with only the privileges it needs, and encrypt backup media. Confirm with your managed service provider how backups are retained and who can restore them, since a restore can bring back deleted records.

Installation guide

Message content in full mode

In full logging, the database stores message bodies, which makes payloads the most sensitive data the log holds. Limit who can query the database and export archives to the people who handle disputes, and record their access in your central monitoring. Encryption of message bodies and archives is covered in a separate topic, so this card covers access only. Before go-live, test whether a database administrator can read payloads, and decide whether that access fits your data protection obligations.

How much work and cost does choosing a logging mode involve?

What drives the cost of choosing an X-Road logging mode?

The cost of this decision rises with how many components it covers and how much legal and test work each one needs. The main drivers are the number of Security Servers, the number of subsystems they serve, the number of data classes passing through them, the legal review those data classes need, and the testing required to show that the chosen mode records what the decision says it records. One Security Server with one subsystem and one data class is a small decision. A larger estate multiplies each driver at once. When you ask for a quote, request the effort split by these drivers, so you can see which parts your own team already covers and which parts you are buying.

How does the number of Security Servers affect logging mode effort?

The count of Security Servers and subsystems sets how many separate mode decisions must be recorded, reviewed and tested. The mode is chosen per Security Server or per subsystem, so each one needs an owner, an inventory entry and a documented result. Teams with many members usually group subsystems that share a data class and sensitivity level, then review each group once. Grouping only works where the classes truly match, so check each subsystem before accepting a shared decision. Ask the provider how it will count scope, whether grouping is proposed, and whether the inventory is a written deliverable.

Does the legal review of data classes add cost to a logging decision?

Legal review is often the largest unknown in this decision, and your legal or data protection team carries it while the technical team supplies facts. Full logging keeps message content, so the question is whether those messages contain personal data and how long they may be kept. The GDPR, Regulation (EU) 2016/679, expects controllers to secure processing under Article 32, and Article 83 sets the maximum fines for failures in those duties. Each data class you review adds time, so list them early. Ask the provider what it needs from counsel, which questions it expects answered in writing, and who signs off the final mode for each data class.

What is one-time and what recurs after choosing full or metadata logging?

Setup is one-time work, while mode reviews and retention settings recur. The one-time part covers the scope definition, the data class inventory, the initial mode configuration, the legal review of each class and the test pass that confirms the result. The recurring part covers a review whenever a Security Server, subsystem or data class is added or changed, a check of retention settings against your policy, and periodic confirmation that stored data still matches the decision. Storage for the message log and archives is an ongoing cost on your infrastructure, and full logging generally needs more of it than metadata logging. Ask the quote to separate setup fees from any recurring review or retainer, and name the review triggers.

How long does a logging mode engagement take?

The duration depends on the agreed written scope, and no fixed timeline applies across engagements. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before work starts. The biggest swing factors are the number of Security Servers and subsystems, how many data classes need legal sign-off, how quickly your legal and data owners respond, and when non-production systems are available for testing. Ask for milestones that name the client-side dependencies, and ask what happens to the timeline if a legal review raises new questions after the test pass has started.

What must our team provide before a logging mode review starts?

Your team must provide four inputs before the review starts, and each one controls how much of the work can run in parallel:

  • A service inventory listing each Security Server, the subsystems it serves and the services each subsystem publishes or consumes.
  • Named data owners who can describe each data class and confirm its sensitivity.
  • Legal input on personal data, retention periods and who may access message content.
  • Access to non-production systems where the chosen mode can be tested before any change reaches live traffic.

Missing any of these typically moves work to later milestones, so confirm each owner and date in the written scope.

Can our own team choose and configure the logging mode alone?

Yes, a team with X-Road operating experience can make and test this decision alone, though it needs time from several roles. The work splits into configuration, legal review, testing and documentation. An internal team usually handles configuration well and has the most difficulty finding time for legal review and test evidence. Bringing in a partner makes most sense when the team lacks X-Road experience, has many servers to review, or needs a documented scope and retest for an audit or security review. Decide by listing which of the four parts you already staff, then ask a provider to quote only the parts you cannot cover.

Can we change the logging mode later, and what happens to existing logs?

Plan for a later change, but confirm the exact switching behavior in the documentation for your X-Road version before you treat the decision as final. The supported versions include 7.8.3, 7.7.4 and 7.6.5, so check the release documentation for the one you run. Messages exchanged after a switch should follow the new mode, and testing should confirm this. Messages recorded earlier keep the content or metadata they were stored with. Existing archives and retention periods still apply to old data, so keep an inventory of what each period contains. Each switch needs a mode review and a test pass, and the quote should show that work separately.

Limits to confirm before you choose a mode

Each limit below is a point where an assumption about full logging or metadata logging can fail after go-live. Verify them against the exact release and documentation your Security Servers run, and record the answers in the decision memo so the choice can be reviewed later.

Exact option names per release

Do not assume the option names in a guide match the release you run. Check the names against every supported release line and against the X-Road 8 beta if you are evaluating it. Record each option's name, default value and scope for every version in your estate. Confirm this before the mode goes into a runbook, because a setting that does not exist in your release leaves the logging behavior unverified.

Current release
7.8.3
X-Road releases

Per Security Server or subsystem

Find out whether the logging mode is set for each Security Server or for each subsystem that the server hosts. The answer decides how many settings you must review, test and document, and how an exception for one subsystem is explained during an audit. Ask your architect to map every member subsystem to its Security Server, then compare that map with the logging settings you intend to apply. Confirm whether nodes in a cluster must share one setting.

Disk minimum is not sizing

The installation guide's disk figure is a minimum for installing and running the software, not an estimate of what message logging will consume. Growth depends on your own message volume, the logging mode you choose and how long you keep records, and the guide does not estimate any of these. Model your own traffic before you set the volume size, and confirm the higher memory figure applies only when monitoring add-ons are installed.

Documented minimum disk
3 GB
Installation guide

PostgreSQL sized for the mode

The Security Server needs PostgreSQL, either local or remote, and the message log is stored in that database. Its size, backup window and restore time depend on how much data the chosen mode writes, so a database sized for light logging may not suit full logging. If you use a managed service such as AWS RDS or Azure Database for PostgreSQL, confirm who owns the database, what backup and point-in-time options it offers, and whether its storage can grow with your log volume. Test a restore before you commit to the mode.

Your retention and legal rules

Decide whether the chosen mode still meets the retention period that your policies and legal obligations require for exchanged messages. Full logging keeps message content that can serve as evidence in a dispute, while metadata logging keeps the record of each exchange without that content. Ask legal, records management and the data owner to sign off on what each mode retains, for how long and who can read it. Document the answer alongside the exchange's purpose so an auditor can trace the decision.

GDPR text may change

The GDPR text has not been amended as of October 2026, but two proposals are moving through the EU process. Omnibus IV (COM(2025) 501) has a text agreed in interinstitutional negotiations and is awaiting Parliament's first-reading vote, while the Digital Omnibus (COM(2025) 837) is awaiting committee decision. Run the legal review on the day you decide, and repeat it before any change of mode, because the articles you rely on for logging may change.

Omnibus IV text agreed
26 June 2026
Omnibus IV procedure

How DeployOpen scopes and delivers logging mode decisions

DeployOpen treats the message log mode as a documented design decision for each Security Server or subsystem. Engagements are fixed-scope, so the evidential value, privacy and storage trade-offs are agreed in writing before any configuration changes. The build runs in infrastructure you control, and your legal, security and data protection teams receive the evidence to review.

How we scope

  • The written scope names each Security Server or subsystem and the message log mode chosen for it.
  • It records the evidential requirements of each service, such as which disputes the message log must support.
  • Engagements are fixed-scope, and ongoing support can be added later as a retainer.

How we build

  • We confirm the Security Server platform, PostgreSQL database and storage sizing before choosing full or metadata logging.
  • We apply the chosen mode to each Security Server or subsystem and test that logged records match it.
  • Where timestamping or archiving depends on the log, we test that chain end to end before go-live.

How we hand over

  • The handover includes the configured mode per Security Server or subsystem, with the reasons recorded alongside it.
  • Runbooks cover how to check the active mode, what a change affects, and who approves it.
  • Evidence for your compliance and security teams includes the configuration record and test results from the build.

How we support

  • Retainers cover upgrades, continuous testing and changes to the logging mode as your services or rules change.
  • After each upgrade between X-Road releases, we confirm the chosen logging mode is still in place.
  • Questions about a logging decision, such as a new service or a legal review, are handled under the agreed scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.