Query Rails log files from the command line.