Skip to content

Add log rotate configuration for stepup-authentication.log #492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pmeulen
Copy link
Member

@pmeulen pmeulen commented May 13, 2025

Let the rsyslog role write a logrotate configuration for rotating the stepup-authentication.log, like it does for engine.
Removed PHP lastseen script to make the role work on Debian host, created issue #493 to fix this.

@pmeulen pmeulen marked this pull request as draft May 13, 2025 11:53
@pmeulen pmeulen force-pushed the Fix-stepup-authentication-log-rotation branch from 253a30b to ed93430 Compare May 14, 2025 07:58
@pmeulen pmeulen requested review from crosmuller and quartje May 14, 2025 08:02
@pmeulen pmeulen marked this pull request as ready for review May 14, 2025 11:30
@pmeulen pmeulen force-pushed the Fix-stepup-authentication-log-rotation branch from ed93430 to 93e97ce Compare May 16, 2025 07:50
owner: root
group: root
with_items: "{{ rsyslog_environments }}"
when: item.db_loglogins_name is defined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The when condition will fail since there is not yet a logparse script for stepup logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants