Fix RPC.  Add 'log' command.