diff options
| author | David Teigland <teigland@redhat.com> | 2009-05-28 15:25:17 -0500 |
|---|---|---|
| committer | David Teigland <teigland@redhat.com> | 2009-05-28 15:25:17 -0500 |
| commit | 07755d9dc0c4d4e0ee3d5319cdbf33820709113b (patch) | |
| tree | 7a61971e1a218ea3aee2d73b0d32a1f9b8e448c0 | |
| parent | e35d034dc3c573576184909c8ceff614be1e77d4 (diff) | |
| download | dct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.tar.gz dct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.tar.xz dct-stuff-07755d9dc0c4d4e0ee3d5319cdbf33820709113b.zip | |
cpgx: munge output text
Signed-off-by: David Teigland <teigland@redhat.com>
| -rw-r--r-- | cpgx/cpgx.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpgx/cpgx.c b/cpgx/cpgx.c index 639b8ed..e083b0d 100644 --- a/cpgx/cpgx.c +++ b/cpgx/cpgx.c @@ -233,9 +233,9 @@ static void _log_header(struct dct_header *h, uint32_t id, int error) h->last_config); else if (error && h->type == EV_MSGSYNC) - log_error("%08u sync %u tv %u.%06u config %u to %u count %u", - id, h->nodeid, h->tv_sec, h->tv_usec, - h->last_config, h->to_nodeid, h->event_count); + log_error("%08u sync %u to %u tv %u.%06u config %u count %u", + id, h->nodeid, h->to_nodeid, h->tv_sec, h->tv_usec, + h->last_config, h->event_count); else if (!error && h->type == EV_MSGTIME) log_history("%08u time %u tv %u.%06u config %u", @@ -243,9 +243,9 @@ static void _log_header(struct dct_header *h, uint32_t id, int error) h->last_config); else if (!error && h->type == EV_MSGSYNC) - log_history("%08u sync %u tv %u.%06u config %u to %u count %u", - id, h->nodeid, h->tv_sec, h->tv_usec, - h->last_config, h->to_nodeid, h->event_count); + log_history("%08u sync %u to %u tv %u.%06u config %u count %u", + id, h->nodeid, h->to_nodeid, h->tv_sec, h->tv_usec, + h->last_config, h->event_count); else log_error("%08u unknown message type %d", id, h->type); @@ -823,7 +823,7 @@ void read_events(struct dct_header *hd, int len, int check_only) ev_buf++; } - log_debug("read_events from %u to %u len %d count %d events %u-%u %s", + log_debug("read_events %u to %u len %d count %d events %u-%u %s", hd->nodeid, hd->to_nodeid, len, count, start_eventid, end_eventid, check_only ? "check" : "copy"); |
