Closed issue #1 - adde macro logging