# Feature OP-10265 - process logs: improved location and log-rotation

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-10265

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a Security Engineer  
**I want to** be able to redirect the logs to a dedicated central secure server (SIEM)  
**so that** the Security Policies of our Enterprise are fulfilled

**Acceptance criteria**

*   logs exist in a dedicated location (like earlier) at /var/log/openproject
    *   change /etc/systemd/system/openproject-web-1.service
    *   change /etc/systemd/system/openproject-worker-1.service
    *   StandardOutput and StandardError
    *   openproject logs functionality remains working
*   logs automatically rotate and get zipped at  /var/log/openproject (implement log-rotate)

references:

[https://askubuntu.com/questions/932763/how-do-i-get-a-systemd-unit-to-redirect-or-copy-logs-to-syslog](https://askubuntu.com/questions/932763/how-do-i-get-a-systemd-unit-to-redirect-or-copy-logs-to-syslog)

https://www.tutorialspoint.com/unix\_commands/logrotate.htm
