Fix logname so we don't embed slashes into the name. Add test for logging levels.
Fix logname so we don't embed slashes into the name.
Add test for logging levels.

deeprave/hdmi2usbd,deeprave/hdmi2usbd