code: public void shutdown() {
          getLogger().info("removing receiverJob from the Scheduler.");
  
          if(this.repository instanceof LoggerRepositoryEx) {
            Scheduler scheduler = ((LoggerRepositoryEx) repository).getScheduler();
            scheduler.delete(customReceiverJob);
          }
  
          lastID = -1;
      }
docs: /*
  (non-Javadoc)
  
  @see org.apache.log4j.plugins.Plugin#shutdown()