From 4f2d55babb8d011a25343f40c4f958eef9daf99d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 26 Oct 2017 10:33:42 -0700 Subject: [PATCH] Group Swift metadata errors by making $path a parameter Change-Id: I3beb3743e1d13b06a9110c44f84fdc8d1b193137 --- includes/libs/filebackend/SwiftFileBackend.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/libs/filebackend/SwiftFileBackend.php b/includes/libs/filebackend/SwiftFileBackend.php index 4212ff5f07..e54e8daca6 100644 --- a/includes/libs/filebackend/SwiftFileBackend.php +++ b/includes/libs/filebackend/SwiftFileBackend.php @@ -714,7 +714,8 @@ class SwiftFileBackend extends FileBackendStore { /** @noinspection PhpUnusedLocalVariableInspection */ $ps = $this->scopedProfileSection( __METHOD__ . "-{$this->name}" ); - $this->logger->error( __METHOD__ . ": $path was not stored with SHA-1 metadata." ); + $this->logger->error( __METHOD__ . ": {path} was not stored with SHA-1 metadata.", + [ 'path' => $path ] ); $objHdrs['x-object-meta-sha1base36'] = false; -- 2.20.1