Skip to content

Commit

Permalink
[LIVY-992][SERVER] In livy logs, user is not able to differentiate be…
Browse files Browse the repository at this point in the history
…tween interactive session and batch session (#435)

Changed log info to provide session type details

Co-authored-by: Rajshekhar Muchandi <rajshekhar.muchandi@cloudera.com>
  • Loading branch information
RajshekharMuchandi and Rajshekhar Muchandi committed Jun 25, 2024
1 parent 728fcf0 commit 78ddd59
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class SessionManager[S <: Session, R <: RecoveryMetadata : ClassTag](
}

def delete(session: S): Future[Unit] = {
info(s"Deleting session ${session.id}")
info(s"Deleting ${session}")
session.stop().map { case _ =>
try {
sessionStore.remove(sessionType, session.id)
Expand All @@ -141,7 +141,7 @@ class SessionManager[S <: Session, R <: RecoveryMetadata : ClassTag](
error("Exception was thrown during stop session:", e)
throw e
} finally {
info(s"Deleted session ${session.id}")
info(s"Deleted ${session}")
}
}
}
Expand Down

0 comments on commit 78ddd59

Please sign in to comment.