midPoint logging and troubleshooting

Logging is how an operations team finds out why a midPoint task, mapping or login failed. This page explains which components to trace, how to keep production logs usable, and what to collect before contacting Evolveum.

On this page

When midPoint logging and troubleshooting needs a plan

A provisioning run stalls, a reconciliation task reports errors on a subset of accounts, or users cannot sign in, and the team reaches for the logging configuration with no agreed idea of what to turn up or for how long. The time to decide that is before the incident. midPoint's logging settings control the level of detail written for each component, such as the model, provisioning, task and repository layers, and they can also enable operation traces and SQL tracing. Each of these produces useful evidence for a specific question and heavy noise for everything else. A documented approach tells the on-call engineer which component to raise, which logger names to use in the configuration, and how to lower the level again once the evidence is captured.

The configuration itself lives in the midPoint home directory, and the reference for logger names, appenders and levels is the Evolveum logging documentation at Evolveum docs: midPoint logging. Logger names change between releases, so the runbook should record the exact midPoint version in production and confirm each name against that version's documentation. Version changes matter in practice: the midPoint 4.11 release notes state that the SQL functional tracing logger moved from org.hibernate.SQL to com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger, so a runbook copied from an older deployment would silently enable nothing. Confirm your release against the midPoint 4.11 release notes and any other version you run before relying on a logger name.

The plan should also name who may change logging on a production system, where the change is recorded, how long a raised level may stay in place, and which diagnostics are packaged for Evolveum support when a product issue is suspected. Ask your own team to confirm disk capacity, log rotation and where logs are shipped, because verbose levels on a busy multi-node deployment can fill storage quickly. Agree the rollback step in advance, and test the procedure in a non-production environment so the first real use does not also become the first test.

Which logging settings fit which problem

This table compares the main logging targets an operator can raise in midPoint, from component log levels to connector-side diagnostics. Read each row for the question it answers, the log volume it adds and who should be allowed to change it. Exact logger names and syntax must come from the Evolveum logging reference for your installed version, not from this table.

Logging targetQuestion it answersLog volume and riskWho should change it
Component log levelsWhich midPoint subsystem is failing or behaving unexpectedly, such as provisioning, synchronization or model processing?Moderate at debug level for one component; grows quickly if several components are raised together. Restore the default afterward.Platform administrators on a named change ticket, with the previous level recorded.
Operation or trace outputWhat did midPoint do for one specific object, operation or task, step by step?Can be large per operation. Scope it to a single test object or short window to avoid flooding the log.Senior administrators or support engineers who can filter the output for personal data before sharing it.
SQL functional tracingWhich repository queries ran during a slow or incorrect operation, and how many were issued?High volume and can expose query content. Logger names differ between releases; for 4.11 and later the Evolveum 4.11 release notes list the changed logger.Database or platform engineers during a short, approved investigation only.
Connector-side diagnosticsIs the failure in midPoint's mapping and model layer or in the connector's communication with the target system?Varies by connector and framework logging. Connector output can include attribute values, so handle it as sensitive.Integration engineers who own the connector, with target system owners informed.
Log destination and rotationWhere do the logs go, and how long are they kept for investigation and for audit?Low per line, but unbounded retention fills disks and can stop the service. Confirm rotation settings in your deployment.Platform operations, aligned with the retention rules agreed with security and compliance.
Diagnostic bundle for Evolveum supportWhat evidence does the vendor need to reproduce the issue?Depends on the scope captured. Remove secrets and personal data before sending anything outside your organization.Support lead, reviewed by the data protection owner before transfer.

How to set up a troubleshooting workflow for midPoint

This sequence turns ad hoc log debugging into a repeatable routine: know the version, measure normal log volume, raise only the components a symptom needs, bound the time those levels stay up, and prove the logging is back to normal afterward. The result is a diagnostic record your team and Evolveum support can both act on without flooding production logs.

  1. Confirm the midPoint version and support status

    Record the exact midPoint version, its Java runtime and the database server version, then check the release page to see whether that release is a long-term support or feature release and when its support ends. Confirm the release against the midPoint releases page before you open a case, because the support window decides whether a fix will be backported or whether you must upgrade first. The step is done when the version, support end date and Java version are written in the ticket. Compare the Java version against the midPoint system requirements, since a mismatch can produce symptoms that look like application faults.

  2. Record a baseline of normal log volume

    Before changing any level, capture how many lines per minute the midPoint log files produce during a normal period, and note the largest files, the rotation settings and the disk space on the log volume. Include the usual peaks, such as scheduled reconciliation tasks or nightly imports, so a later spike is not mistaken for a fault. Ask the operations owner which log destinations are shipped to a central log platform, since those pipelines may have their own volume limits. The step is done when the baseline sheet holds lines per minute, file sizes and disk headroom for a representative day.

  3. Map each symptom to the components to raise

    Write a short table that pairs each symptom, such as a failed provisioning operation, a mapping that produces unexpected values, a slow search or a connector error, with the specific logger or component to raise for it. Keep the mapping narrow: raise the component closest to the symptom and leave the rest at their normal level. Check the Evolveum logging reference for the logger names that match each area, and confirm them in your own installation before relying on them. The step is done when every symptom your team handles has one named logger and one named owner.

  4. Confirm the SQL tracing logger for your version

    If the investigation involves database behavior, confirm which logger produces SQL functional traces for your release. In midPoint 4.11 the SQL functional tracing logger changed from org.hibernate.SQL to com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger, so a configuration copied from an older install may raise nothing at all. Test the logger on a non-production node first and confirm that the expected lines appear. The step is done when the logger name for the installed version is recorded and a test raise has produced visible output.

  5. Set a time limit for raised levels

    Before raising any level, decide how long it will stay up and who will be notified when the window closes. Record the start time and the expected end time in the change ticket, and agree on the trigger for ending early, such as the operation being reproduced or the log volume exceeding the baseline. Confirm with your operations team how a raised level is applied and whether it survives a restart, because a level set only in a running process can silently return after a node restarts. The step is done when the ticket shows a start time, an end time and a named owner for the revert.

  6. Reproduce the symptom and collect the evidence

    With the raised levels active, reproduce the symptom once and capture the matching operation trace, the relevant log lines, the task or object identifier and the timestamp. Keep the reproduction narrow, using one test user or one object where possible, so the evidence is easy to read and the log volume stays close to the baseline. Check that the log file is rotating normally during the capture, since a stalled rotation means the evidence may be overwritten or the disk may fill. The step is done when the evidence bundle holds the trace, the logs and the identifiers needed to match them.

  7. Revert the levels and verify rotation

    When the investigation ends, or when the time limit is reached, revert every raised logger to its baseline level and confirm the change took effect on every node. Then check that log volume has returned to the recorded baseline and that the log file is still rotating, with old files compressed or removed according to your retention settings. Record the revert time in the ticket. The step is done when the log volume matches the baseline on each node and the ticket shows who reverted which logger and when.

  8. Package diagnostics for Evolveum support

    If the issue needs vendor help, package the evidence bundle with the version and support status from the first step, the baseline, the logger changes with their timestamps, the reproduction steps and the redacted log excerpts. Remove or mask personal data and any credentials before sending, and confirm with your security team what may leave your environment. Use the support process described on the Evolveum support subscriptions page to open the case, and keep the same bundle for your own records. The step is done when the case is open with a complete bundle and the revert record is attached.

How a symptom becomes a support-ready diagnostic bundle

The path starts with a reported symptom, such as a failed task, an unexpected attribute value, a slow login or a connector error, and first asks whether midPoint is the component at fault. If the evidence points to the target system or the database, the logs may only show the symptom, so the investigation moves to that system. Otherwise, the team raises one component's level for a bounded window, reproduces the case, captures the matching log and trace excerpts, redacts sensitive values such as credentials and personal data, and then reverts the level before sending the bundle to support.

Decision path from a symptom to a redacted diagnostic bundle for Evolveum support.

How logging should differ between test, staging and production

Test environments exist so engineers can reproduce problems with detailed logging without worrying about disk space or data exposure. Verbose levels can be raised on the components under investigation, including operation traces and SQL functional tracing, and the team can accept noisy output because nobody depends on test data being real. Changes to log levels in test are usually made by the engineer working the ticket, but the team should still record which levels were raised and why, so the setting does not become the baseline by accident.

  • Detail level: Full debug or trace output on the components under test is acceptable, including SQL tracing when a query problem is being reproduced.
  • Approval: The engineer on the ticket may raise levels, and the platform lead should be told when a level is left raised for more than a single test run.
  • Log storage: Logs stay on the test node or a test log collector, separate from any store that receives production data.
  • Retention: Set test retention from your own policy, and purge debug output after each investigation unless it is attached to a ticket.
  • Persistence check: Compare the logging configuration in test with the reference copy at the end of each session.

Before closing the ticket, confirm that the verbose levels are reverted in the configuration and that the test node is back on its standard profile.

What logs can expose and how to control it

Verbose midPoint logging is useful during an incident, but the same output can carry identity data, secrets and support material that outlive the problem. The cards below set out the main exposure points and the control to apply at each one before you raise a log level.

Personal data in trace output

Trace and debug levels for the model, provisioning and synchronization components can record user attributes such as names, email addresses, employee numbers and manager relationships as they move between resources. Before enabling them, decide which users and attributes the investigation needs. Check whether the log destination is inside the same access boundary as the identity data, and redact names and identifiers before sharing any excerpt outside the team.

Credentials in expression output

Mappings and scripts that print their inputs or outputs can write passwords, tokens, connector credentials or keystore-derived values to the log. Review custom expressions and script debug statements for anything that echoes a secret-bearing variable. Treat any such line as a credential exposure, rotate the affected secret, and remove the debug statement before the level is lowered again.

Access to log files and bundles

Log files on the midPoint node, copies in central logging, and diagnostic bundles prepared for Evolveum support can all contain the same sensitive content, often with broader read access than the application database. Restrict file permissions to the service account and named administrators, limit who can query the central log platform, and confirm who receives each bundle before it is sent.

Retention beyond the investigation

Trace logs are rarely cleaned up once a ticket closes, so detailed identity records can sit in rotated files, object storage and backups for years. Write down a retention period for debug and trace output that is separate from the audit retention decision, set log rotation to enforce it, and confirm that the central platform applies the same deletion rule. Ask your compliance lead which retention schedule applies to each log class.

Sensitive SQL and query logging

Functional tracing of SQL statements can expose parameter values, including identifiers and attribute values bound into queries. The logger name changed in midPoint 4.11 from org.hibernate.SQL to com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger, so confirm which logger your version uses before enabling it. Enable it only for a short window on a non-production copy where possible, and remove it from the production configuration afterwards.

4.11 release notes

Log levels left raised

A log level raised during an incident and forgotten keeps producing high volume output, which fills disks, slows the node and widens the exposure set for weeks. Record the component, the level, the person who raised it and the planned reversal time in the change ticket. Review the active logging configuration as part of routine checks so that temporary settings do not become permanent defaults.

How the SQL tracing logger changed in midPoint 4.11

midPoint 4.11 renamed the logger that drives SQL functional tracing. Earlier releases use the logger org.hibernate.SQL. From 4.11, the logger is com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger. A logging configuration copied from an older deployment may still name the Hibernate logger, so the SQL output you expect may never appear. The failure is quiet: midPoint starts normally, the logging file looks correct, and the trace is simply empty. Check the logger name before you assume the repository is doing nothing.

Teams on midPoint 4.10 and older should keep org.hibernate.SQL in their logging configuration for SQL tracing. Teams on 4.11 or later should use the new SqlLogger name. Mixed estates need the most care. If you run several midPoint instances, or a test environment is one release ahead of production, the same logback.xml fragment may behave differently on each. Keep the logger name in the same configuration file that sets the release-specific settings, and record which name each environment uses in your change log.

Before you change a production setting, confirm both logger names against the midPoint 4.11 release notes and against the current logging reference for your release. Then enable SQL tracing briefly in a non-production environment and confirm that statements appear in the expected log file. SQL tracing is verbose, so turn it off once you have the data you need. Record the exact logger name and the release in any ticket you send to Evolveum support so that their engineers can read the trace without guessing which configuration produced it.

What to confirm before relying on this logging approach

Logging advice for midPoint depends on the release, runtime, and infrastructure in your environment. The six checks below cover the decisions that most often break troubleshooting during an incident, and each one should be settled before you change log levels in production.

Confirm the release and support window

Logger names, log output, and troubleshooting options depend on the exact midPoint release you run. Check the support window first: 4.8 is a long-term support release supported until 17 October 2028, 4.10 is supported until 26 November 2027, and 4.9 support ends 18 October 2026. If you are on 4.9, plan an upgrade before you invest in logging changes that will need to be repeated later.

midPoint releases

Match the Java runtime to the release

midPoint recommends Java 25 for version 4.11 and later, with Java 21 supported, and Java 21 for 4.10 and older, with Java 17 supported. Confirm the JVM that each node actually runs, since the base image, host packages, and the JVM startup options can differ. A JVM change can also alter garbage collection output and memory flags, so verify your logging and memory options after every Java upgrade.

System requirements

Find where logs are written

Confirm whether midPoint writes logs to files, to standard output, or to both in your container image and deployment. In Kubernetes, a file written inside a container is lost when the pod restarts unless it sits on a mounted volume. Confirm the path, the rotation policy, and the volume mount, and check that an operator can read the logs from the failing node during an incident.

Size the log pipeline for debug volume

Operation traces and SQL logging at debug or trace level can produce far more lines than normal operation. Confirm that your log shipper, index, and retention can absorb a short burst from a reconciliation or recompute task without dropping lines or filling disks. Test the level you plan to use during an incident, not only the everyday info level.

Agree the diagnostic format with support

Evolveum support subscriptions cover resolving product bugs, so ask the vendor what they need before you collect anything. Confirm which log extracts, time window, midPoint version, configuration files, and trace output they expect. Agree on redaction in advance, because traces can contain identities, attribute values, and connector details that your data handling rules may restrict.

Support subscriptions

Verify logger names after upgrades

Logger names can change between releases, and a configuration that targets an old name may capture nothing after an upgrade. midPoint 4.11 changes the SQL functional tracing logger from org.hibernate.SQL to com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger. Review every logging entry in your configuration against the release notes for the version you deploy.

4.11 release notes

Questions teams ask about midPoint logging and troubleshooting

How much effort does a midPoint logging and troubleshooting setup take?

The effort depends mainly on how many components you need to observe, how many environments share the logging pipeline, and how much of the workflow is already written down. A single-node test instance with a few known problem areas can be configured quickly. A production deployment with several nodes, connectors writing to different targets, and a central log platform takes longer because each log level change needs a justification, a rollback step and a place where the output is read. Most of the work is deciding which components to raise, where the output goes and who reviews it, rather than editing configuration files. Ask any partner to split the estimate into design, configuration, runbook writing and knowledge transfer so you can see where the time goes.

Can an internal team set up midPoint troubleshooting on its own?

Yes, if the team has Java and midPoint operators who can read the midPoint logs, a PostgreSQL administrator for database-side questions, and someone who understands the connectors in use. Internal teams usually struggle less with the configuration itself than with the discipline around it: keeping debug output off in production, recording why a level was raised, and removing it afterwards. The main gap is often experience with the difference between a symptom in one connector and a fault in the model layer. Evolveum's documentation covers the logging reference in detail, so the question for your team is whether it has someone who will own the runbook after launch and practice it before an incident.

What does the work need from our team?

The work needs four things from your side: read access to the midPoint log output and the nodes or containers that produce it, a test environment that resembles production closely enough to reproduce problems, scheduled change windows for raising levels on live systems, and one named owner who approves what gets logged and who receives the output. Security teams often need to review what appears in logs, since trace output can include identity attributes and other personal data. Agree in advance where logs are stored, how long they are kept and who can open them. Without an owner, debug levels tend to stay on after an incident and fill storage.

How long does the first troubleshooting workflow take to define?

The first workflow usually takes longer to define than to build, because the hard part is agreeing on the steps: which symptom leads to which component, which level to raise first, how to limit the output, and how to hand the evidence to a person or to Evolveum. The length depends on how many connectors and deployment topologies are in scope, whether the logging backend already exists, and how many teams must approve the change process. A narrow workflow for one connector on one node is simpler than a shared process for all integrations across several clusters. Ask for the timeline in writing, with the review and sign-off steps listed separately from the technical configuration.

What makes a troubleshooting engagement take longer than expected?

Four factors tend to extend the work. The first is missing reproduction steps, since intermittent faults need repeated runs with the right components enabled. The second is log volume: trace output on a busy node can make the useful lines hard to find, so filtering and a separate log destination must be planned. The third is version differences. midPoint 4.11 changes the SQL functional tracing logger from org.hibernate.SQL to com.evolveum.midpoint.repo.sqlbase.querydsl.SqlLogger, so a runbook written for an older release will point at the wrong logger after an upgrade. The fourth is access: waiting for approvals to change production settings adds calendar time that no technical effort removes.

When does a paid Evolveum support subscription matter for troubleshooting?

A paid subscription matters most when a fault appears to be a product bug rather than a configuration or environment problem, and when your organization needs a defined response commitment. Evolveum offers Product Support subscriptions for resolving product bugs, with an 8x5 next-business-day or 24x7 SLA, and Platform Subscriptions that add feature development and roadmap influence. The support subscriptions page lists no prices, so request a quote for the service level you need. Before opening a case, collect the midPoint version, relevant log excerpts at the right level, and the steps that reproduce the issue. Clear diagnostics shorten the time Evolveum needs to act, whatever subscription you hold.

Which midPoint release should we target for logging work?

Target the release your organization runs in production, and plan logging runbooks against that exact version. midPoint 4.8 (Curie) is a long-term support release with support until 17 October 2028, midPoint 4.10 (Braille) is a feature release supported until 26 November 2027, and midPoint 4.9 support ends 18 October 2026. midPoint 4.11 (Čapek) is planned as a feature release for 21 October 2026. Because logger names can change between releases, a runbook should record the version it was written for. Confirm the current support status on the releases page before you commit to a version, since dates may be updated by Evolveum.

How DeployOpen scopes and supports midPoint troubleshooting

DeployOpen works on midPoint logging and troubleshooting as a written, fixed-scope piece of work inside your own infrastructure. We agree which components, log levels and diagnostic bundles are in scope, then document how your team reads and handles that output so the work stays useful after handover.

How we scope

  • Inventory the midPoint version, deployment model and the log files your team currently reads.
  • Agree which components and problems are covered, such as provisioning, synchronization or login failures.
  • Define the log-level changes allowed in production and the ones restricted to test environments.
  • Confirm the diagnostic bundle contents and who approves sharing them with Evolveum support.

How we build

  • Configure component-level logging so each investigation raises only the logger it needs.
  • Set up SQL and operation trace output with size limits, rotation and clear retention rules.
  • Test each logging profile in a non-production copy before it is applied to production.
  • Connect log output to your existing log platform where your team already searches events.

How we hand over

  • Document the troubleshooting runbook: which logger to raise for each symptom and how to revert it.
  • Provide a checklist for collecting diagnostics for Evolveum support without exposing sensitive data.
  • Walk through example traces with your administrators so they can read operation results themselves.
  • Record the midPoint version-specific logger names, including any changes between releases.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer.
  • Retainer support can cover logging changes that follow each midPoint upgrade in your environment.
  • Ask for a written quote based on the agreed scope; DeployOpen does not publish a price list.

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.