@Test
public void testSentryAppender() throws Exception {
// start our UDP server which will receive sentry messages
final UdpServer udpServer = new UdpServer(sentryPort);
// turn on logging which enables the sentry appender
final LoggingConfig config = new LoggingConfig(0, true, null, false);
ServiceMain.setupLogging(config, testDsn);
// log a message at error level so sentry appender sends it to UDP server
log.error("Ignore test message printed by Helios SentryTest");
// be nice and turn logging back off
LoggingConfigurator.configureNoLogging();