add flags support, LOGLEVEL_EQUAL mode support