From 62d3e642baa8d72a0536f892c20eb49cef519874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=80=E1=85=A7=E1=86=BC?= =?UTF-8?q?=E1=84=90=E1=85=A2?= Date: Wed, 6 Nov 2024 00:11:51 +0900 Subject: [PATCH] [ZEPPELIN-6140] Log format adjustment --- .../java/org/apache/zeppelin/service/NotebookService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java index fb9ce3aca65..48335ebc964 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java @@ -428,19 +428,19 @@ public boolean runParagraph(Note note, ServiceCallback callback) throws IOException { if (note == null) { - LOGGER.info("Failed to run paragraph: Note is null"); + LOGGER.info("Failed to run paragraph {}, Note is null", paragraphId); return false; } + LOGGER.info("Start to run paragraph: {} of note: {}", paragraphId, note.getId()); if (!checkPermission(note.getId(), Permission.RUNNER, Message.OP.RUN_PARAGRAPH, context, callback)) { - LOGGER.info("Permission check failed for running paragraph: {} of note: {}", paragraphId, note.getId()); + LOGGER.info("Permission check failed for running paragraph {} of note {}", paragraphId, note.getId()); return false; } Paragraph p = note.getParagraph(paragraphId); - if (p == null) { - LOGGER.info("Paragraph with ID {} not found in note: {}", paragraphId, note.getId()); + LOGGER.info("Paragraph {} not found in note {}", paragraphId, note.getId()); callback.onFailure(new ParagraphNotFoundException(paragraphId), context); return false; }