[Rt-commit] rt branch, 4.4/external-storage, updated. rt-4.2.11-84-g62c2211
Shawn Moore
shawn at bestpractical.com
Thu Jun 4 17:04:41 EDT 2015
The branch, 4.4/external-storage has been updated
via 62c2211ebd13eea0b8b5c6a40b3b93c746ee8709 (commit)
from 62a819308f770cc4bef302d80ed62ed7c0769459 (commit)
Summary of changes:
sbin/rt-externalize-attachments.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 62c2211ebd13eea0b8b5c6a40b3b93c746ee8709
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Jun 4 21:04:27 2015 +0000
Only log skipped attachments under --verbose
diff --git a/sbin/rt-externalize-attachments.in b/sbin/rt-externalize-attachments.in
index 8aefb14..743c99a 100644
--- a/sbin/rt-externalize-attachments.in
+++ b/sbin/rt-externalize-attachments.in
@@ -129,7 +129,9 @@ for my $class (qw/RT::Attachments RT::ObjectCustomFieldValues/) {
my ($ok, $why) = $a->ShouldStoreExternally;
if (!$ok) {
- RT->Logger->info("Skipping $class $id because: $why");
+ if ($opts{verbose}) {
+ RT->Logger->info("Skipping $class $id because: $why");
+ }
next;
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list