Fix for log path management