Logging into pyspark using slf4j

I want to write log files from a spark to a local file. I turned on logging in the log4j.properties file, but it still throws an error:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: By default, to execute a recorder without an operation (NOP)

SLF4J: For more information see http://www.slf4j.org/codes.html#StaticLoggerBinder .

+4
source share

Source: https://habr.com/ru/post/1613648/


All Articles