add a flag about framework log