convert to pluggable log buffer