Adding some logging
Converting (most) of the existing uses of error_log to idno logging
Merge branch 'logging' into logging2
s/idno/known
Migrating to new logging
Merge pull request #416 from mapkyca/logging2

Awesome logging code from @mapkyca. Thanks Marcus!