1.
1. redirect all logs of Spark to file, which can be set by -Dbigdl.utils.LoggerFilter.logFile
the default file is under current workspace named bigdl.log
.
2. -Dbigdl.utils.LoggerFilter.disable=true
will disable redirection.
and add an console appender for com.intel.analytics.bigdl.optim
, because we set the threshold
to ERROR first.
logger filter, which will filter the log of Spark(org, breeze, akka) to file. it could be set by user through
-Dbigdl.utils.LoggerFilter.logFile