System.setProperty(SystemProperties.P6SPY_PREFIX + P6SpyOptions.MODULELIST,
P6LogFactory.class.getName());
P6SpyOptions.getActiveInstance().reload();
}
final P6LogLoadableOptions opts = P6LogOptions.getActiveInstance();
Assert.assertNotNull(opts);
Assert.assertNull(opts.getSQLExpression());
Assert.assertEquals(0L, opts.getExecutionThreshold());
Assert.assertEquals("info,debug,result,resultset,batch", opts.getExcludecategories());
Assert.assertTrue(opts.getExcludeCategoriesSet().containsAll(
Arrays.asList(DEFAULT_CATEGORIES)));
Assert.assertFalse(opts.getFilter());
Assert.assertNull(opts.getIncludeList());
Assert.assertNull(opts.getExcludeList());
Assert.assertNull(opts.getIncludeExcludePattern());
Assert.assertEquals("", opts.getInclude());
Assert.assertEquals("", opts.getExclude());
Assert.assertNull(opts.getSQLExpressionPattern());
}