setting up logging defines