amreport issue
Orion Poplawski <[email protected]>
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <[email protected]> |
It appears that amreport isn't detect my custom amflush logs as amflush. This
appears to be that $self->{flags}{normal_run} is never initialized and in:
if (!$self->get_flag("normal_run")) {
if ( ( defined $self->get_program_info("amflush") )
&& ( scalar %{ $self->get_program_info("amflush") } ) ) {
debug("detected an amflush run");
the conditional fails so it never checks for amflush. If I add:
$self->{flags}{normal_run} = 0;
to the initialization before reading the log then it appears to detect an
amflush report.
--
Orion Poplawski
Technical Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane [email protected]
Boulder, CO 80301 http://www.nwra.com