diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 16:30:11 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 16:30:11 +0200 |
commit | 617b3f79fa3484a1e09ecffafb140fb0f13d9e72 (patch) | |
tree | e359c3ede7473b33ceb128730461b33a03b68347 /core/Command/Preview | |
parent | faab3e733b1ceb17ee469e82ba3082181e7c9465 (diff) | |
download | nextcloud-server-617b3f79fa3484a1e09ecffafb140fb0f13d9e72.tar.gz nextcloud-server-617b3f79fa3484a1e09ecffafb140fb0f13d9e72.zip |
Show lock messages only in verbose mode
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command/Preview')
-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(); |