[MDEV-4760] Audit: log is only created when parameters are set in a certain order 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: | Major |
| Reporter: | Elena Stepanova | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | server_audit | ||
| Issue Links: |
|
||||||||
| Description |
|
Logging only works if the output type is set after the file path.
Output:
But this one does not (I switched setting of file_path and output_type):
Output:
bzr version-info
|
| Comments |
| Comment by Alexey Botchkov [ 2013-07-05 ] |
|
As it is implemented now setting output_type=file tries to create the log file and set it for logging. And if the filename isn't properly specified, that naturally fails and output_type keeps 'null' value. |
| Comment by Alexey Botchkov [ 2013-08-25 ] |
|
Fixed along with the |