This is an automated email from the ASF dual-hosted git repository.

ngupta pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bebc0d401a OAK-10063 | Fixing log message to print the complete log 
(#817)
bebc0d401a is described below

commit bebc0d401aae02b113eb9cf8116c7c9aae2a2c12
Author: nit0906 <nitingupta0...@gmail.com>
AuthorDate: Thu Jan 12 13:53:52 2023 +0530

    OAK-10063 | Fixing log message to print the complete log (#817)
    
    Co-authored-by: Nitin Gupta <niti...@adobe.com>
---
 .../org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
 
b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
index 1ab8e4118f..281812fc5d 100644
--- 
a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
+++ 
b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdate.java
@@ -1096,7 +1096,7 @@ public class AsyncIndexUpdate implements Runnable, 
Closeable {
                 failingSince = latestErrorTime;
                 latestErrorWarn = System.currentTimeMillis();
                 if (isConcurrentUpdateException) {
-                    log.info("[{}]", name,  e.getMessage());
+                    log.info("[{}] The index update failed : {}", name,  
e.getMessage());
                 } else {
                     log.warn("[{}] The index update failed", name, e);
                 }
@@ -1106,7 +1106,7 @@ public class AsyncIndexUpdate implements Runnable, 
Closeable {
                 if (warn) {
                     latestErrorWarn = System.currentTimeMillis();
                     if (isConcurrentUpdateException) {
-                        log.info("[{}]", name,  e.getMessage());
+                        log.info("[{}] The index update is still failing : 
{}", name,  e.getMessage());
                     } else {
                         log.warn("[{}] The index update is still failing", 
name, e);
                     }

Reply via email to