[Logwatch] Version 7.0 Problems

Ann Hopkins seashell at handypaws.com
Thu Oct 13 10:05:21 MST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

I can not get Version 7.0 to run because it refers to a directory called
"default.conf".

I noticed in the logwatch.pl script the following:

ReadConfigFile ("$BaseDir/default.conf/logwatch.conf", "");
ReadConfigFile ("$BaseDir/dist.conf/logwatch.conf", "");

What are these two directories?

"default.conf" is called this many times

244:ReadConfigFile ("$BaseDir/default.conf/logwatch.conf", "");
399:opendir(SERVICESDIR, $BaseDir . '/default.conf/services') or
400:   die $BaseDir . "/default.conf/services: $!";
411:   ReadConfigFile("$BaseDir/default.conf/services/$f", "");
435:opendir(LOGFILEDIR, $BaseDir . "/default.conf/logfiles") or die $BaseDir .
"/default.conf/logfiles/, no such directory.\n";
437:   unless (-d $BaseDir . "/default.conf/logfiles/" . $ThisFile) {
443:         ReadConfigFile("$BaseDir/default.conf/logfiles/" . $ThisFile, "");

and

"dist.conf" is called up this many times...

245:ReadConfigFile ("$BaseDir/dist.conf/logwatch.conf", "");
412:   ReadConfigFile("$BaseDir/dist.conf/services/$f", "");
444:         ReadConfigFile("$BaseDir/dist.conf/logfiles/" . $ThisFile, "");


Thanks.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTpPRhs7JGk93PT0RAwS6AJ9HK2uXug1RXxLhsIgzS6QjUUHzgQCcDrpT
9wErN37QGPlwqifCLPSI5SU=
=g60I
-----END PGP SIGNATURE-----



More information about the Logwatch mailing list