diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 16:30:11 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-09-18 11:13:52 +0000 |
commit | 55393939cec9517fc43746bc29b99e65aef0891c (patch) | |
tree | b3a1c67da849813c3b31db88d5634b82538eff8d | |
parent | e9e5a02d7c18b06cd995e07232e033efb609f65f (diff) | |
download | nextcloud-server-55393939cec9517fc43746bc29b99e65aef0891c.tar.gz nextcloud-server-55393939cec9517fc43746bc29b99e65aef0891c.zip |
Show lock messages only in verbose mode
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r-- | core/Command/Preview/Repair.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Preview/Repair.php b/core/Command/Preview/Repair.php index 1d4bbec813c..c04da7ab532 100644 --- a/core/Command/Preview/Repair.php +++ b/core/Command/Preview/Repair.php @@ -225,7 +225,7 @@ class Repair extends Command { $lockName = 'occ preview:repair lock ' . $oldPreviewFolder->getId(); try { - $section1->writeln(" Locking \"$lockName\" …"); + $section1->writeln(" Locking \"$lockName\" …", OutputInterface::VERBOSITY_VERBOSE); $this->lockingProvider->acquireLock($lockName, ILockingProvider::LOCK_EXCLUSIVE); } catch (LockedException $e) { $section1->writeln(" Skipping because it is locked - another process seems to work on this …"); @@ -280,7 +280,7 @@ class Repair extends Command { } $this->lockingProvider->releaseLock($lockName, ILockingProvider::LOCK_EXCLUSIVE); - $section1->writeln(" Unlocked"); + $section1->writeln(" Unlocked", OutputInterface::VERBOSITY_VERBOSE); $section1->writeln(" Finished migrating previews of file with fileId $name …"); $progressBar->advance(); |