Log URL accesses.
Handle unrecognized command gracefully.