[MDEV-4764] Audit: With default server_audit_rotate=OFF the logs are still rotated Created: 2013-07-05 Updated: 2013-08-27 Resolved: 2013-08-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | server_audit | ||
| Issue Links: |
|
||||||||
| Description |
|
I keep default values for rotation parameters:
But the logs are still rotated at ~1000000 bytes:
To my knowledge, I don't do anything to provoke this. bzr version-info
|
| Comments |
| Comment by Alexey Botchkov [ 2013-07-24 ] |
|
It's not a bug. |
| Comment by Elena Stepanova [ 2013-07-24 ] |
|
>> Should it be done in more apparent way? I think it should. In any case, there should be a way to turn off automatic log rotation, server_audit_rotate looks like the only viable candidate, and currently the value OFF is deceptive - I'm sure I have rotation turned off, and later I find out that my audit I suggest to keep it open for now and to check with whoever-makes-decisions-about-the-design. |
| Comment by Sergei Golubchik [ 2013-08-08 ] |
|
What about renaming variables, to make them more consistent and self-documenting? server_audit_file_path -> server_audit_file_path (no changes) |
| Comment by Alexey Botchkov [ 2013-08-22 ] |
|
Variables renamed: |