Was logging with new type (AIR) and not with old value (LOG)
Reformatted code.
Merge pull request #12 from parkerkane/master

Fix wrong block data being logged