Revert "cleanup logging defines"

This reverts commit ada9e0ca7b0a5c0fbce868ace4d6d7f19d6a3e91.

Kak, I forgot to git add src/log.h, and then I did a git clean -dfx
without thinking. Reverting until I can reconstruct it.