#configuring the custom loggerlog4j.logger.com.apress.logging.log4j=DEBUG, NT#configuring the NT appenderlog4j.appender.NT=org.apache.log4j.nt.NTEventLogAppenderlog4j.appender.NT.layout=org.apache.log4j.SimpleLayout