fixing core header logging defines