improved support for logging in BasicLoggedApplication