httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: TEST -clean for ServerRoot/logs
Date Thu, 16 Aug 2001 15:20:01 GMT
On Thu, 16 Aug 2001, Geoffrey Young wrote:

> hi all...
> 
> TEST -clean doesn't currently pick up the stuff Apache creates in logs, so
> the logs directory itself isn't removed.

it should already get those, does for me anyhow, look at
Apache::TestServer::clean:

sub clean {
    my $self = shift;

    my $dir = $self->{config}->{vars}->{t_logs};

    for (qw(error_log access_log httpd.pid)) {
        my $file = catfile $dir, $_;
        if (unlink $file) {
            $self->trace("unlink $file");
        }
    }
}

though i'm tempted to rm logs/* to get rid of all the other
possible droppings.


Mime
View raw message