1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-23 00:07:44 +02:00

Reduce log verbosity in doc.pl.

Reduce verbosity by only logging sections that contain an execute list directly or in a child section.
This commit is contained in:
David Steele
2017-07-26 10:22:22 -04:00
parent df7d633683
commit 97c4d9ec18
7 changed files with 30 additions and 5 deletions

View File

@ -219,7 +219,10 @@ sub sectionProcess
{name => 'iDepth'}
);
&log(INFO, (' ' x ($iDepth + 1)) . 'process section: ' . $oSection->paramGet('path'));
if ($oSection->paramGet('log'))
{
&log(INFO, (' ' x ($iDepth + 1)) . 'process section: ' . $oSection->paramGet('path'));
}
if ($iDepth > 3)
{