From 93a38ae0ff6d5011a311f0714ea571782826b600 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Sat, 2 Dec 2017 17:43:52 -0700 Subject: [PATCH] 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 --- includes/libs/xmp/XMP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})', [ -- 2.20.1