码迷,mamicode.com
首页 > 其他好文 > 详细

Log level with log4j and Spark

时间:2018-01-12 11:23:10      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:ecif   debug   error   fixed   UI   ges   end   data   only   

Log Level Usages
OFF This is the most specific, which allows no logging at all
FATAL This is the most specific one that shows fatal errors with little data
ERROR This shows only the general errors
WARN This shows warnings that are recommended to be fixed but not mandatory
INFO This shows information required for your Spark job
DEBUG While debugging, those logs will be printed
TRACE This provides the least specific error trace with a lot of data
ALL Least specific message with all data

Log level with log4j and Spark

标签:ecif   debug   error   fixed   UI   ges   end   data   only   

原文地址:https://www.cnblogs.com/niaomingjian/p/8274188.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!