use nullhandler for logging in brainware