#50318 provide feature to force log rotation
Opened 8 months ago by lkrispen. Modified 8 months ago

Issue Description

In some lib389 tests we use:

<instance>.deleteErrorLogs()

This is done to have a clean error log to check for messages, but for debugging purposes logs are lost.

It would be better to have a method

<instance>.rotateErrorLogs()

Maybe this requires enhancement of DS to allow enforcing of log rotation, or it coul be triggered by temporariliy changing the rotation config


I think this will need to be a feature in the server, because that's really the only part that has the correct access to do the filesystem rotation.

Metadata Update from @firstyear:
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None

8 months ago

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.4.2

8 months ago

Login to comment on this ticket.

Metadata