When you set debug_mode, logger output stdout.