Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1242531
Created attachment 1051426 Actual results for `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.xz` Description of problem: Log files in the /var/log/dirsrv/slapd-DOMAIN may be zipped into tar.xz, txz or xz. By documentation, logconv.pl should handle them and extract an information from them. There is an error instead. Version-Release number of selected component (if applicable): 389-ds-base-1.3.3.1-13.el7.src.rpm How reproducible: always Steps to Reproduce: 1. Install RHDS 10; 2. Setup and run the server; 3. Add some entries to the database; 4. Create tar.xz, txz and xz files from /var/log/dirsrv/slapd-DOMAIN/access file; 5. Run `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.tar.xz` 6. Run `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.txz` 7. Run `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.xz` Actual results: 1. For `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.tar.xz` Access Log Analyzer 8.1 Command: logconv.pl access.tar.xz Processing 1 Access Log(s)... [001] access.tar.xz size (bytes): 1320 There was no logging to process, exiting... Cleaning up temp files... Done. 2. For Run `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.txz` Access Log Analyzer 8.1 Command: logconv.pl access.txz Processing 1 Access Log(s)... [001] access.txz size (bytes): 1320 There was no logging to process, exiting... Cleaning up temp files... Done. 3. For `logconv.pl /var/log/dirsrv/slapd-DOMAIN/access.xz` Look in the attachments for access_actual_log_xz.txt Expected results: Logs should be parsed correctly: Look in the attachments for access_expected_log_xz.txt
0001-Ticket-48224-logconv.pl-should-handle-.tar.xz-.txz-..patch 0001-Ticket-48224-logconv.pl-should-handle-.tar.xz-.txz-..patch
To ssh://git.fedorahosted.org/git/389/ds.git 8495afa..d1b0acd master -> master commit d1b0acd Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 13 18:27:50 2015 -0600
To ssh://git.fedorahosted.org/git/389/ds.git 3bf1daa..4f3b802 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 commit 4f3b802 Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 13 18:27:50 2015 -0600
To ssh://git.fedorahosted.org/git/389/ds.git 7a05195..3414c4e 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit 3414c4e Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 13 18:27:50 2015 -0600
Thanks, Rich! I'm resetting the milestone to 1.3.3.13.
0001-Ticket-48224-redux-logconv.pl-should-handle-.tar.xz-.patch 0001-Ticket-48224-redux-logconv.pl-should-handle-.tar.xz-.patch
To ssh://git.fedorahosted.org/git/389/ds.git 3414c4e..971dc48 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit 971dc48 Author: Rich Megginson rmeggins@redhat.com Date: Wed Jul 15 14:09:24 2015 -0600 6ec1001..8473ae0 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 commit 8473ae0 Author: Rich Megginson rmeggins@redhat.com Date: Wed Jul 15 14:09:24 2015 -0600 cc435b8..ae5b62f master -> master commit ae5b62f Author: Rich Megginson rmeggins@redhat.com Date: Wed Jul 15 14:09:24 2015 -0600
fix spec file:
To ssh://git.fedorahosted.org/git/389/ds.git 971dc48..0704386 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit 0704386 Author: Rich Megginson rmeggins@redhat.com Date: Thu Jul 16 09:06:45 2015 -0600 8473ae0..9109a57 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 commit 9109a57 Author: Rich Megginson rmeggins@redhat.com Date: Thu Jul 16 09:06:45 2015 -0600 ae5b62f..193d79d master -> master commit 193d79d Author: Rich Megginson rmeggins@redhat.com Date: Thu Jul 16 09:06:45 2015 -0600
Reopening for this comment... https://bugzilla.redhat.com/show_bug.cgi?id=1242531#c9
0001-Ticket-48224-redux-2-logconv.pl-should-handle-.tar.x.patch 0001-Ticket-48224-redux-2-logconv.pl-should-handle-.tar.x.patch
To ssh://git.fedorahosted.org/git/389/ds.git dfcfa55..c81f40a 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 commit c81f40a Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 20 10:31:46 2015 -0600 16b95b1..0e31d81 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 commit 0e31d81 Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 20 10:31:46 2015 -0600 34ffa6c..29043c5 master -> master commit 29043c5 Author: Rich Megginson rmeggins@redhat.com Date: Mon Jul 20 10:31:46 2015 -0600
Metadata Update from @nhosoi: - Issue assigned to rmeggins - Issue set to the milestone: 1.3.3.13
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1555
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.