Logsrv now logs any incoming message also.

Before, logsrv would only log well-formed log messages, but this wasn't
catching logs from programs that failed in funny ways. Anything coming
in now is shoveled into a raw_entry table; well-formatted messages are
still being logged to the entries table, this just provides a second
data source.
Fix logic errors in raw log dump.