}
public void testFileTarget()
throws Exception
{
final FileTarget target = new FileTarget( m_logFile, false, FORMATTER );
final Logger logger = getNewLogger( target );
logger.debug( M1 );
logger.debug( M2 );
logger.debug( M3 );
target.close();
final String data = getFileContents( m_logFile );
assertEquals( "Targets file output", OUTPUT, data );
assertTrue( "Deleting logfile", m_logFile.delete() );