Changed move_old_logs to bound method