read log folder and write to stdout.