Branch: refs/heads/master Home: https://github.com/fabbione/kronosnet Commit: 6abcf8210feae7590d401ca50884e17a683d954b https://github.com/fabbione/kronosnet/commit/6abcf8210feae7590d401ca50884e17... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2013-01-08 (Tue, 08 Jan 2013)
Changed paths: M TODO M libknet/libknet.h M libknet/logging.c
Log Message: ----------- logging: move string to the beginning of msg
this allow (to some extents) to print log messages directly to stdout and/or stderr without extra parsing.
NOTE: - messages are sent from differnet threads and there for they are less readable when they arrive all together - there is no printing of message level and subsystem
for simple coding/debugging purposes this is useful, but otherwise look at how ping_test.c or kronosnetd create a logpipe and read sequencial messages from there.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com