@BeforeClass public void prepareLogger() throws Exception { Class<? extends AlfrescoAPITestCase> currTestClass = getClass(); this.logger = Logger.getLogger(currTestClass); String message = "Started executing class " + this.getClass().getName(); logger.info(message); }