Skip to content

Commit

Permalink
Remove unnecessary logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
andelink authored and catalinii committed Nov 4, 2022
1 parent 73f742d commit fe62b94
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/src/main/scala/org/apache/spark/internal/Logging.scala
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ trait Logging {
}
// Update the consoleAppender threshold to replLevel
if (replLevel != rootLogger.getLevel()) {
if (!silent) {
System.err.printf("Setting default log level to \"%s\".\n", replLevel)
System.err.println("To adjust logging level use sc.setLogLevel(newLevel). " +
"For SparkR, use setLogLevel(newLevel).")
}
Logging.sparkShellThresholdLevel = replLevel
rootLogger.getAppenders().asScala.foreach {
case (_, ca: ConsoleAppender) =>
Expand Down

0 comments on commit fe62b94

Please sign in to comment.