From f4fda83ac07e80038c061725b9aad66152a4c76d Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Mon, 6 Feb 2012 14:37:44 +0100 Subject: [PATCH] cleanup logging --- mars_trans_logger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mars_trans_logger.c b/mars_trans_logger.c index c1551e53..972da173 100644 --- a/mars_trans_logger.c +++ b/mars_trans_logger.c @@ -836,7 +836,7 @@ void pos_complete(struct trans_logger_mref_aspect *orig_mref_a) MARS_ERR("cannot tell what input I am operating on\n"); } else { loff_t finished = orig_mref_a->log_pos; - MARS_DBG("finished = %lld\n", finished); + MARS_IO("finished = %lld\n", finished); if (finished <= log_input->replay_min_pos) { MARS_ERR("backskip in log replay: %lld -> %lld\n", log_input->replay_min_pos, orig_mref_a->log_pos); } @@ -1932,7 +1932,7 @@ void _init_inputs(struct trans_logger_brick *brick) int nr = brick->new_input_nr; if (brick->log_input_nr != brick->old_input_nr) { - MARS_DBG("nothing to do, new_input_nr = %d log_input_nr = %d old_input_nr = %d\n", brick->new_input_nr, brick->log_input_nr, brick->old_input_nr); + MARS_IO("nothing to do, new_input_nr = %d log_input_nr = %d old_input_nr = %d\n", brick->new_input_nr, brick->log_input_nr, brick->old_input_nr); goto done; } if (unlikely(nr < TL_INPUT_LOG1 || nr > TL_INPUT_LOG2)) { @@ -1944,7 +1944,7 @@ void _init_inputs(struct trans_logger_brick *brick) CHECK_PTR(input, done); if (input->is_operating || !input->connect) { - MARS_DBG("cannot yet switch over to %d (is_operating = %d connect = %p)\n", nr, input->is_operating, input->connect); + MARS_IO("cannot yet switch over to %d (is_operating = %d connect = %p)\n", nr, input->is_operating, input->connect); goto done; }