#all logger output level is 'ERROR' and output position is stdout #so only write our project's DEBUG log and ERROR log of the others log4j.rootLogger=ERROR, stdout ,R #log4j.appender is set output postion #log4j.logger is set some package(some packag…