mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs_upstream_email.py: enable set log level
Add logger.setLevel to enable set log level. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
09f629b997
commit
c47e2af5d1
|
@ -141,6 +141,7 @@ def main():
|
||||||
action="store_const", const=logging.ERROR, dest="loglevel")
|
action="store_const", const=logging.ERROR, dest="loglevel")
|
||||||
|
|
||||||
options, args = parser.parse_args(sys.argv)
|
options, args = parser.parse_args(sys.argv)
|
||||||
|
logger.setLevel(options.loglevel)
|
||||||
|
|
||||||
# get recipes for send email
|
# get recipes for send email
|
||||||
if options.plan:
|
if options.plan:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user