* Use the logging system instead of fprintf