flush and sync memberlog

make sure we're using global "committed" var