Defining log destination and rotation