Fix some signed / unsigned warnings.
Fix test_config03 to check for the right error message.  This isn't specific to logging, but seems to have been triggered by recent changes.