Added console trace listener