Move from namespace logger to preprocessor logger