Protected the static final Logger Logger=LoggerFactory. GetLogger (MessagePush. Class);
Print log cannot be output to the log4j. Properties configuration file
But
. Private static org, apache log4j Logger Logger=org. Apache.. Log4j Logger. GetLogger (MessagePush. Class);
Print log can be normal output
CodePudding user response:
Because of the front with commonlog, may reference their own slf4j, without using log4j,