mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
reduce debug logging
This commit is contained in:
committed by
Isaac Connor
parent
223afe271e
commit
d640468dd4
@@ -1072,8 +1072,10 @@ sub time_of_youngest_file {
|
||||
foreach my $file ( readdir( DIR ) ) {
|
||||
next if $file =~ /^\./;
|
||||
$_ = (stat($dir))[9];
|
||||
$youngest = $_ if $_ and ( $_ < $youngest );
|
||||
Debug("Found younger file $file at $youngest");
|
||||
if ($_ and ($_ < $youngest)) {
|
||||
$youngest = $_;
|
||||
Debug("Found younger file $file at $youngest");
|
||||
}
|
||||
}
|
||||
return $youngest;
|
||||
} # end sub time_of_youngest_file
|
||||
|
||||
Reference in New Issue
Block a user