made logging locations configurable