create buffered logging output
merge from s7