public void testSetup() throws IOException {
handler = new LttngLogHandler();
- session = ILttngSession.newCommandLineSession(null, Domain.JUL);
+ session = ILttngSession.createSession(null, Domain.JUL);
assertTrue(session.enableEvents("non-event"));
assertTrue(session.start());
}