Fix logging macros

Minor bugfix