logging path fix for non-windows