log exceptions
adequate message if logging fails
Merge branch 'master' into ubuntu
ubuntu release 0.4.2