X-Git-Url: https://git.llucax.com/z.facultad/75.08/llamadas.git/blobdiff_plain/b79329fa46e1f162ba1e9e4590ca0db7ddf3a0c0..184f78908d5690f4f8d1b74d505c2b3b3ed388c2:/inst/antifraude.pl?ds=inline diff --git a/inst/antifraude.pl b/inst/antifraude.pl index 8f02a6d..f41ee21 100644 --- a/inst/antifraude.pl +++ b/inst/antifraude.pl @@ -87,7 +87,7 @@ sub logEntry { close(LOGFILE); # Chequeo el logsize y su lo supero me quedo con 100 lineas - if ($filesize > ($CONFDATA{logsize} * 1024 * 1024)) + if ($filesize > $CONFDATA{logsize}) { open(LOGFILE,"+<$log"); do ($line = ) until $. == 100;