if the flume logging system do NOT exist, work all right
code is ugly, just for test