nginx logs cut script