From: Bryan Davis Date: Sun, 3 Dec 2017 00:43:52 +0000 (-0700) Subject: xmp: Lower severity of XMP parse failure log events X-Git-Tag: 1.31.0-rc.0~1192^2~1 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=93a38ae0ff6d5011a311f0714ea571782826b600;p=lhc%2Fweb%2Fwiklou.git xmp: Lower severity of XMP parse failure log events Errors when parsing XMP information blocks broadly indicate that the file is somehow malformed. This is generally a content issue rather than an operational issue. Bug: T118799 Change-Id: I3c7992343f28db75cd9ec0701c1eceebf6db2d08 --- diff --git a/includes/libs/xmp/XMP.php b/includes/libs/xmp/XMP.php index 0cc14669a7..be823a8bc5 100644 --- a/includes/libs/xmp/XMP.php +++ b/includes/libs/xmp/XMP.php @@ -370,7 +370,7 @@ class XMPReader implements LoggerAwareInterface { $col = xml_get_current_column_number( $this->xmlParser ); $offset = xml_get_current_byte_index( $this->xmlParser ); - $this->logger->warning( + $this->logger->info( '{method} : Error reading XMP content: {error} ' . '(line: {line} column: {column} byte offset: {offset})', [