public String dump( boolean includeGeneral ) {
    StringBuilder out = new StringBuilder( 50000 );
    for ( LoggingObjectInterface o : this.map.values() ) {
      if ( ( includeGeneral ) || ( !o.getObjectType().equals( LoggingObjectType.GENERAL ) ) ) {
        out.append( o.getContainerObjectId() );
        out.append( '\t' );
        out.append( o.getLogChannelId() );
        out.append( '\t' );
        out.append( o.getObjectType().name() );
        out.append( '\t' );
        out.append( o.getObjectName() );
        out.append( '\t' );
        out.append( o.getParent() != null ? o.getParent().getLogChannelId() : "-" );
        out.append( '\t' );
        out.append( o.getParent() != null ? o.getParent().getObjectType().name() : "-" );
        out.append( '\t' );
        out.append( o.getParent() != null ? o.getParent().getObjectName() : "-" );
        out.append( '\n' );
      }
    }
    return out.toString();
  }
@Test
  public void testDump() {
    LoggingRegistry loggingRegistry = LoggingRegistry.getInstance();
    loggingRegistry.schedulePurgeTimer();
    loggingRegistry.updateFromProperties();
    loggingRegistry.reset();

    LoggingObjectInterface obj = new SimpleLoggingObject( UUID.randomUUID().toString(),  LoggingObjectType.JOB, null );
    String id = loggingRegistry.registerLoggingSource( obj );

    String output = loggingRegistry.dump( false );
    assertFalse( output.isEmpty() );
    assertTrue( output.contains( id ) );

  }