renames log directory