Setting logging options in Sparkling Water

Once sparkContext is available please add the following:

  1. sc.setLogLevel("INFO")
  2. logging.getLogger().setLevel(logging.INFO)
  3."My log")


The following does not work so don’t use it:

  1. log4jLogger =
  2. LOGGER = log4jLogger.LogManager.getLogger(__name__)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s