Fixing mark_generate to use log for info messages.