blib/lib/FusionInventory/Agent/Logger/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 14 | 0.0 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 0 | $params{'config'}{'logfile-maxsize'} ? : |
31 | 0 | 0 | if ($$self{'logfile_maxsize'}) |
33 | 0 | 0 | if ($stat and $stat->size > $$self{'logfile_maxsize'}) |
34 | 0 | 0 | unless (open $handle, '>', $$self{'logfile'}) |
41 | 0 | 0 | unless ($handle or open $handle, '>>', $$self{'logfile'}) |
52 | 0 | 0 | if flock $handle, 6 |
55 | 0 | 0 | unless ($locked) |