#47713 Logconv.pl with an empty access log gives lots of errors
Closed: Fixed None Opened 5 years ago by nhosoi.

Description of problem: Running logconv.pl tool on the empty access log file
gives lots of errors.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.1.6-15

How reproducible: Consistently with the empty access log files.

Steps to Reproduce:
1. Create an instance and empty the access log file.
2. Run logconv.pl tool to check if -M option is working.
3. logconv.pl -m -M /var/log/dirsrv/slapd-testinst/access

Actual results:
logconv.pl -m -M /var/log/dirsrv/slapd-testinst/access

Access Log Analyzer 8.0

Command: logconv.pl /var/log/dirsrv/slapd-testinst/access

Processing 1 Access Log(s)...

[00] /var/log/dirsrv/slapd-testinst/access size (bytes): 0
Use of uninitialized value $ in pattern match (m//) at /usr/bin/logconv.pl
line 1595.
Use of uninitialized value $
in pattern match (m//) at /usr/bin/logconv.pl
line 1600.
Use of uninitialized value $ in pattern match (m//) at /usr/bin/logconv.pl
line 1606.
Use of uninitialized value $
in split at /usr/bin/logconv.pl line 1623.
Use of uninitialized value $time in substitution (s///) at /usr/bin/logconv.pl
line 1627.
Use of uninitialized value $tzone in substitution (s///) at /usr/bin/logconv.pl
line 1628.
Use of uninitialized value $tzone in pattern match (m//) at /usr/bin/logconv.pl
line 1634.
Use of uninitialized value $hr in multiplication () at /usr/bin/logconv.pl
line 1635.
Use of uninitialized value $min in multiplication (
) at /usr/bin/logconv.pl
line 1635.
Use of uninitialized value $sign in string eq at /usr/bin/logconv.pl line 1636.
Use of uninitialized value $time in split at /usr/bin/logconv.pl line 1640.
Use of uninitialized value $date in split at /usr/bin/logconv.pl line 1641.
Use of uninitialized value $mon in hash element at /usr/bin/logconv.pl line
1642.
Use of uninitialized value in scalar assignment at
/usr/share/perl5/vendor_perl/Carp.pm line 182.
Day * out of range 1..31 at /usr/bin/logconv.pl line 1642.


git merge ticket47713
Updating fc8def6..c476d41
Fast-forward
ldap/admin/src/logconv.pl | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

git push origin master
fc8def6..c476d41 master -> master

commit c476d41
Author: Mark Reynolds mreynolds@redhat.com
Date: Tue May 27 10:57:32 2014 -0400

27f2fab..1472381 389-ds-base-1.3.2 -> 389-ds-base-1.3.2
commit 1472381

d8b7eb8..803c86a 389-ds-base-1.3.1 -> 389-ds-base-1.3.1
commit 803c86a28e5ab38ef2aa41676d34c33f0229249c

7fbf16b..8155bea 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
commit 8155bea

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

2 years ago

Login to comment on this ticket.

Metadata