Added console output logging flag into RGE algo.