[syslog-ng] [Bug 202] New: pdbtool dump does not recognize the -p option

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sat Oct 6 01:59:10 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=202

           Summary: pdbtool dump does not recognize the -p option
           Product: syslog-ng
           Version: 3.3.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: erempel at uvic.ca
Type of the Report: ---
   Estimated Hours: 0.0


Man page states


dump [options]

Display the RADIX tree built from the patterns. This shows how are the patterns represented in syslog-ng and it might also help to track down pattern-matching
problems. The dump utility can dump the tree used for matching the PROGRAM or the MSG parts.

--debug or -d
Enable debug/diagnostic messages on stderr.

--pdb or -p
Name of the pattern database file to use.

--program or -P
Displays the RADIX tree built from the patterns belonging to the $PROGRAM application.

--program-tree or -T
Display the $PROGRAM tree.

--verbose or -v
Enable verbose messages on stderr.

Example and sample output:


But the command does

localhost% pdbtool dump -P fscheck -p patterndb.xml 
Error parsing command line arguments: Unknown option -p

localhost% pdbtool dump -P fscheck --pdb patterndb.xml 
Error parsing command line arguments: Unknown option --pdb


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list