custom log hendler + some more config