Where OpenProject logs live and why retention is a privacy decision
Operators need OpenProject logs to troubleshoot, investigate incidents and diagnose slowness, but the same logs hold personal data, so retention is a privacy decision as well as an operations one. Packaged installs write logs to journalctl units such as openproject-web-1 and openproject-worker-1, while Docker installs send logs to STDOUT, where the container runtime collects them. The log level is set with OPENPROJECT_LOG__LEVEL, which accepts debug, info (the default), warn or error. Confirm the unit names on your own host before you write alerts or forwarding rules against them, since they depend on how the install was done.
Every web request is logged with the user ID, a timestamp, the URL and parameters, and the parameters can include text users typed. That makes the log useful for tracing who did what and when, and also means it can contain personal data tied to identifiable accounts. Teams usually need this work for four reasons: incident investigation, audit evidence, performance diagnosis, and GDPR retention decisions. Each reason suggests a different retention period, so decide those periods before you forward logs anywhere.
OpenProject's default retention is size-based and first-in first-out, which means old entries disappear only when the store fills, not on a schedule you chose. Administrators can configure age-based retention, so check how your installation applies it and whether it covers every place the logs are copied, including your central logging system. Ask your data protection lead which purposes justify keeping request data and for how long, and document that answer. The specific retention settings and their behavior should be confirmed against the OpenProject processing of personal data documentation for your version.
Which log location and level fit each install type
This table compares where OpenProject writes logs for packaged and Docker installs and which OPENPROJECT_LOG__LEVEL setting fits each situation. Read the first two rows for where to look, then the level rows for how much detail to keep on by default.
| Setting | Packaged install | Docker install |
|---|---|---|
| Where logs go | journalctl units such as openproject-web-1 and openproject-worker-1 | STDOUT, collected by the container runtime (for example, docker logs) |
| Who collects and rotates them | The systemd journal on the host, subject to your journal size and retention settings | The container runtime and its logging driver, which you must configure for retention and forwarding |
| Default level (info) | Suitable for normal operation and for most routine investigations | Suitable for normal operation; confirm the setting is applied to each container, including workers |
| Level warn | Keeps warnings and errors with less noise, useful for stable production instances | Same use: lower volume for long-running stable instances, still shows problems |
| Level error | Shows only failures; too quiet to spot early signs of slow requests or repeated warnings | Shows only failures; use only when log volume is a documented problem and you accept less early warning |
| Level debug | Only for short troubleshooting windows, then switch back to info and clear or note the extra output | Only for short troubleshooting windows; debug output can contain more user input and grows log volume quickly |
| Changing the level | Set the variable for the services, restart them, and confirm with journalctl after the change | Set the variable in the Compose or container configuration and recreate the containers; confirm with docker logs |
How to set up log access, levels and forwarding
This sequence confirms how your OpenProject is installed, finds where its logs are written, sets a deliberate log level, and forwards those logs to a central system so that request and error records survive restarts and are searchable by your operations and security teams.
Confirm the installation type first
Establish whether OpenProject runs from a packaged install (.deb or .rpm, with services managed by systemd) or from Docker, because the two write logs to different places. Your team or DeployOpen should record the install type, the service or container names, and the host or hosts that run web and worker processes. Done when every OpenProject process you operate is listed against its log location, so no service is left unmonitored.
Locate the logs with journalctl or docker logs
On packaged installs, read the systemd journal for units such as openproject-web-1 and openproject-worker-1 using journalctl with the unit name. On Docker installs, read the container output with docker logs, since containers write to STDOUT. Confirm that you can see recent entries from each process. Done when the most recent web request and worker lines appear in the output you retrieved, and you have noted the exact command that returns them.
Set the log level in the configuration
Set OPENPROJECT_LOG__LEVEL to one of debug, info, warn or error. The default is info, which is the appropriate baseline for production unless an incident needs more detail. Use debug only for a time-limited investigation, because it produces considerably more output and may record more user input. Record the chosen value and who approved it in your change log. Done when the variable is present in the environment file or Compose configuration for every web and worker process.
Restart and confirm the new level took effect
Restart the OpenProject services or containers so the new level is read, then check the first lines of output after startup. Confirm that the process reports the level you set and that no earlier debug setting remains in an override file, a second environment file, or a Compose override. Done when a fresh restart shows the intended level and the old value is absent from every configuration source you checked.
Verify request lines and error output
Generate a normal sign-in and a page load, then search the logs for those requests. Each web request should appear as a key-value line. Confirm that the entry includes the request path and expected fields, and that a deliberately invalid request produces an error entry at the level you set. Done when your test requests are visible in the output and you have saved one sample line for your forwarding configuration to parse against.
Choose a forwarding agent for the source
Select an agent that matches the install type: one that reads journald for packaged installs, or one that reads container stdout for Docker installs. Confirm the agent can run on the OpenProject hosts, has the permission to read journal or container log sources, and can keep its own buffer if the central system is unavailable. Done when the agent and its source are written down, along with the central system it will send to.
Forward logs and test the central copy
Configure the agent to ship OpenProject units or containers to your central logging system, with fields that identify the host, service and environment. Then compare a known test request in the central system with the same entry on the host. Confirm that timestamps match, the fields are parsed, and that the central copy stays available after an OpenProject restart. Done when a test request is searchable centrally within the window your operations team expects.
Record retention on both sides
Document how long logs remain on the OpenProject host and how long the central system keeps them, since OpenProject's own retention is size-based by default and administrators can configure age-based retention. Ask your privacy or legal owner to confirm the retention periods, because logs contain user identifiers and request parameters that may include personal data. Done when the local and central retention settings are written down and approved.
Reading the key-value request log format
Each web request that reaches OpenProject produces a log entry, and the fields in that entry decide how fast your team can answer questions such as who opened a page, what they opened and what they submitted. The user ID, timestamp, URL and parameters are the four fields to map first. The user ID identifies the account that made the request, the timestamp orders events across services, the URL shows the route, and the parameters show the query string or form data. Confirm the exact key names in your own version's output by making a test request in a non-production instance and reading the entry back from journalctl or docker logs. Do not assume the key names from another release or from documentation you read months ago.
Once you have confirmed the layout, map each field to a query in your central logging tool. For example, create a saved search that filters on the user ID field for an access review, a second search on the URL field for requests to a specific project or administration path, and a dashboard panel that counts requests per user over time to spot unusual activity. Keep the field mapping in your runbook next to the parsing rule, so that a future upgrade that changes a key name is caught by a failing query instead of a silent gap in your evidence.
Parameters need the most care. Because they can contain user input, a single parameter value may hold personal data, free text typed into a work package, or a search term that names a person. Treat the parameters field as sensitive when you set access permissions on the log index, and decide with your privacy lead whether it should be masked, truncated or dropped before forwarding. The retention decision depends on this field, so review it before you set any age-based policy.
Protecting logs that hold personal data
OpenProject request logs can contain user IDs, URLs and parameters that include what users typed, so they count as personal data from the moment they are written. The controls below apply to the host, the central store and the people who can search them, and each one needs a decision you record before logs start flowing.
Restrict access to the log host
On packaged installs, anyone with root or sudo on the server can read every journalctl unit, and on Docker installs anyone who can run docker logs on the host can read STDOUT. Limit shell and Docker group membership to named administrators and review it on a schedule. Check who can read the files under your Docker log driver configuration, because those files persist after a container is removed.
Limit who can search central logs
Once logs are forwarded to a central store, the risk moves to whoever can run searches across all sources. Create roles that separate platform operators, security responders and auditors, and give each only the indexes or streams they need. Confirm that your store records who ran which query, since a search over request parameters is itself a processing activity.
Encrypt logs in transit
Logs leave the OpenProject host over a network path that you must protect. Use TLS between the forwarder and the central store, and verify certificates rather than disabling checks to get a pipeline working. Confirm how your log shipper handles certificate validation and whether the receiving endpoint enforces TLS for all clients.
Encrypt logs at rest
Stored logs keep personal data for as long as your retention policy allows, so the storage behind them needs encryption. Ask whether the volume, object store or index backing your central logging service supports encryption at rest and who holds the keys. Include log backups and snapshots in the same review, because they often sit outside the primary store's controls.
Keep logs in approved regions
Shipping logs to a hosted logging service can move personal data to another country without anyone deciding to. Before you choose a forwarder destination or a managed store, confirm the region where data is stored, processed and backed up, and whether support staff can access it from elsewhere. Record the answer in your data inventory for the OpenProject instance.
Confirm redaction options with the vendor
Request parameters can carry names, search text or free-form notes, and redacting them at source is the strongest reduction. Ask OpenProject and your log platform which fields can be masked or dropped before storage, and test that masking on a sample request. Do not assume a field is hidden because the default log level is info.
Monitoring and logs docsSetting retention for GDPR and operational needs
OpenProject keeps request logs by size by default, and the retention decision is yours to make and record. Under the default setup, the oldest log data is dropped first-in first-out once the log store reaches its size limit, so the retention period is whatever the volume of traffic happens to allow. That is a poor basis for a GDPR retention rule, because the period varies with load and nobody chose it. Administrators can configure age-based retention instead, which lets you state a fixed period. Check the OpenProject processing of personal data documentation for the exact settings in your release and confirm them in a test instance before you rely on them in production.
Agree the period with your data protection officer before you configure anything. Bring the list of what the logs contain: user IDs, timestamps, URLs and request parameters that can include user input, as described in the personal data documentation. The DPO will want to know why each category is needed, who can read it, and how long investigations realistically need it. Ask the DPO to confirm the lawful basis for keeping logs, which is often a legitimate interest in security and fault investigation, and to decide whether any shorter period applies to parameter content than to access metadata. Keep the period as short as the operational need allows.
Local log rotation and central retention are separate controls. Local rotation or the size limit only decides what the OpenProject host keeps, and it may delete data earlier or later than your policy intends. If you forward logs to a central platform, that platform's retention settings govern the copies, and the local copies may already be gone. Record both, and check that the central store applies the same period, access restrictions and deletion behavior. Write the decision, the period, the lawful basis, the owner and the review date in your records of processing, and revisit the decision whenever the log contents or the platform change.
Limits to confirm in your environment
OpenProject logs live in several places, and each place has its own retention rule. The items below are the settings and limits to confirm on your own hosts before you write a retention policy, because the defaults in one layer do not decide what happens in another.
Exact retention setting names
Confirm the retention and log level keys your OpenProject version actually reads, not the names from a blog post or an older release. Check the OPENPROJECT_LOG__LEVEL value on each environment, since debug logging records far more request detail than the default info level. Record the version you tested against, so the setting survives later upgrades and reviews.
Scope of age-based retention
Find out whether the age-based retention you configure applies to local log output, to stored personal data records, or to both. The documentation describes size-based, first-in first-out retention as the default, so a local log file can be rotated out long before or long after a record kept in the database. Test this on a non-production instance before you promise a retention period.
Personal data processing docsJournald storage limits on the host
Packaged installs write to journalctl units such as openproject-web-1 and openproject-worker-1, so the host journal decides how much history survives. Check the SystemMaxUse and retention settings in journald.conf on each server, and confirm whether the journal is persistent or stored in memory only. A busy instance can fill a small journal within days, and older entries may disappear without any OpenProject setting changing.
Docker log driver rotation
Docker installs send output to STDOUT, and the container runtime stores it under the log driver configured for the host or the container. Confirm the driver in use and whether max-size and max-file are set in the Docker daemon or Compose file, because the default json-file driver has no size cap unless you set one. Without rotation, container logs can grow until the disk is full.
Central logging volume and cost limits
If you forward OpenProject logs to a central platform, confirm whether that platform bills by ingested volume, caps daily ingestion, or drops data above a limit. Request logs include user IDs, URLs and parameters, so volume grows with user activity. Ask the platform owner for the ingestion ceiling and the behavior when it is reached, and agree who approves changes to the log level before traffic rises.
Choosing a central logging backend
Graylog suits teams that want a log management product with search, dashboards and a defined investigation workflow out of the box. It is the option to shortlist when the people reading logs are operations or security staff who need to find events quickly without building their own query tooling. Forwarding OpenProject logs into Graylog means deciding how the Docker STDOUT stream or the journalctl units reach it, so plan that pipeline before the search work starts.
- Fit: Strong when analysts need searches, saved views and dashboards on top of logs without a separate analytics project.
- Ingestion: Confirm which input methods your Graylog edition supports for journald and container output.
- Access control: Check how user roles, log streams and any field restrictions are set up against the personal data in request logs.
- Licensing: Confirm the edition and license terms that apply to your deployment and user count with the vendor.
- Operations: Budget for the Graylog and data store components you must patch and back up.
Before choosing Graylog, check which edition, access features and licensing terms your organization needs and confirm them with the vendor.
Loki fits teams that already run Grafana and want log aggregation driven by labels, with log data kept on object storage. It is a good match when the main questions are time-based and filtered by service or host, and when the platform team wants logs next to metrics dashboards. The trade-off is that free-text investigation depends on how well labels and queries were designed, so the label scheme for OpenProject units and containers needs an early decision.
- Fit: Suited to Grafana-centric platform teams and to log retention managed on object storage.
- Labels: Decide which labels, such as unit or container name, you attach so queries stay manageable.
- Access: Plan tenant separation and Grafana access rules if several teams read different logs.
- Retention: Set retention by stream or tenant to match the personal data retention decision for request logs.
- Dependencies: Confirm the object storage and Grafana versions you intend to run in your environment.
Before choosing Loki, test your label scheme against the OpenProject unit and container names you will actually query.
OpenSearch fits organizations that want full-text log analytics with fine-grained access control and an open-source license. OpenSearch is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe a paid edition. Its Security plugin provides role-based access control, document-level and field-level security, field masking, audit logs and TLS for node and client traffic, which helps when request logs contain user input. It supports SAML, OpenID Connect, Active Directory and LDAP, Kerberos and JSON Web Token authentication backends.
- License: Apache License 2.0 with no paid edition described in the FAQ.
- Access control: Role-based access, document-level and field-level security and field masking can limit who sees personal data in logs.
- Audit: Audit logs from the Security plugin record access to the cluster.
- Authentication: Connect SAML, OpenID Connect or LDAP so log access follows your identity system.
- Operations: Plan cluster sizing, index retention and version upgrades, and confirm the release you will run is still maintained.
Before choosing OpenSearch, confirm the Security plugin features your edition and version include and test them against your own roles.
Questions buyers ask about OpenProject log retention
How much effort does OpenProject log setup take, and what drives it?
Setting OpenProject to a log level is a small change, but the real effort sits in deciding where logs go, how long they stay and who can read them. The main drivers are the install type, the number of OpenProject instances, whether logs must leave the host, and how many systems already feed a central platform. A single packaged install that keeps logs on its own host is a short task. Several instances, Kubernetes deployments or a requirement to forward logs with the same fields across systems add design and testing work. Ask any partner to split its quote into local log configuration, forwarding, parsing and retention documentation so you can see which parts scale with your environment.
Can our internal team set up OpenProject logging on its own?
Yes, a team that already runs Linux services and understands journalctl or Docker logging can configure the basics without outside help. Packaged installs write to journalctl units such as openproject-web-1 and openproject-worker-1, Docker installs write to STDOUT, and the level is set with OPENPROJECT_LOG__LEVEL. Where teams usually need more support is the log platform, parsing the key-value request format, and agreeing retention with data protection staff. Check whether your engineers have time to test forwarding and to review what user input ends up in request parameters before committing to a solo build.
What does a logging engagement need from our team?
The work needs access to the OpenProject hosts or containers, the ability to change service configuration, and a named owner for the central log platform. Data protection input is also required, because every web request is logged with the user ID, timestamp, URL and parameters, and those parameters can include user input. Ask your team to decide which log platform will receive data, who may search it and where it is hosted. Also confirm whether logs may be stored outside your country or outside the systems that already hold OpenProject data. Without these decisions, configuration work cannot be completed.
How long does a central logging rollout take?
Duration depends on scope, not on the OpenProject setting itself. A rollout that only sends logs from one instance to an existing platform is much shorter than one that covers several instances, adds parsing for the key-value format, sets access roles and tests alerting. Other factors include whether the target platform already exists, how many teams must approve access and whether retention rules need legal review first. Request a written schedule with milestones for host access, forwarding tests, retention approval and handover, and ask what each milestone depends on from your side.
What changes in our logging after OpenProject upgrades?
An upgrade can change log output, service names or container layout, so forwarding rules and parsers should be checked after each release. Confirm the new log unit names or container names in a test environment before the production upgrade, because dashboards and alerts that filter on old names will stop matching. Keep the log level setting in your configuration management so an upgrade does not silently reset it. Record which OpenProject version produced each logging rule. Release timing is published in the OpenProject release notes, which is the first place to check before scheduling an upgrade window.
How should we document our OpenProject log retention decisions?
Write one retention record that states what is logged, why it is logged, how long each log type is kept and who approved the period. OpenProject keeps logs with size-based first-in first-out retention by default, and administrators can configure age-based retention, so the record should say which method you use and the exact setting. Include the central platform's own retention, backups of logs and the deletion process. Link the record to your data processing register and review it when OpenProject or the log platform changes. Auditors and data protection staff will ask for this record, so keep it current and dated.
Which personal data in OpenProject logs affects GDPR retention?
The personal data is mainly the user ID, the timestamp, the requested URL and any parameters that carry user input, because each web request is logged with these details. That makes the logs personal data for most organizations, so a retention period must be justified and applied. Engineers should check whether search terms, names or free-text values appear in URLs before choosing retention. Data protection staff should decide whether the default size-based rotation is enough or whether an age limit is needed. Confirm the decision with your privacy lead and your legal adviser rather than relying on a default setting.
How request logs move from OpenProject to retention
A web request to OpenProject writes a log entry that carries the user ID, timestamp, URL and parameters, which can include personal data. Packaged installs send that output to journalctl units such as openproject-web-1, while Docker installs write to STDOUT for the container runtime to collect. An optional forwarder can ship those entries to central logging, and each store applies its own retention. Check which store holds the personal data and whether its retention matches your GDPR decision.
Log paths from a web request to each retention point, with the personal data boundary around the host.
How DeployOpen scopes OpenProject logging work
DeployOpen scopes logging work as a fixed-scope engagement, with the decisions agreed in writing before any configuration starts. The scope document should record the install type (packaged install, Docker, or Kubernetes), which log destinations are in use, the central logging platform that will receive the logs, the retention rules for each log stream, and the list of deliverables. Those decisions shape the rest of the work, because a packaged install reads from journalctl units such as openproject-web-1, while a Docker install reads from STDOUT and needs a collector configured outside the container. The scope should also name the log level, the default being info, and whether debug is ever permitted in production and for how long.
Retention needs the most care in the written scope. OpenProject logs every web request with the user ID, timestamp, URL and parameters, and those parameters can include user input, so the logs contain personal data. Retention is size-based and first-in first-out by default, and administrators can configure age-based retention. The scope should state which retention period the organization's data protection team has approved, who owns that decision, and how the central platform will apply the same rule so that copies held outside OpenProject are not kept longer than the policy allows. Confirm these points with your data protection officer before the build begins.
DeployOpen then configures the log destinations and retention settings, verifies them against the agreed scope, and documents the result for your compliance and security teams. DeployOpen prepares systems, controls and evidence for assessments, but it does not issue audit reports, attestations or certifications, and independent auditors make that determination. Ongoing support, including log review after upgrades and changes to retention rules, is available as a retainer and is quoted separately from the fixed-scope work. A quote follows from the written scope, so the more precisely the install type, destinations and retention rules are defined up front, the more accurately the work can be priced.

