Completed manage_console_logs.sh to spec