tmp
ruby test passed. flush is mishandeld and causes panic.
minor changes
Merge branch 'topic/41_new_log_struct_0' into topic/41_new_log_struct
Merge branch 'topic/41_new_log_struct' into v1-devel