summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-06-01 15:00:10 +0800
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-06-06 11:25:42 +1200
commitc47e2af5d17022d92533076b9c11504acb80945c (patch)
tree2803891bc1fd1d41ee70cbda84527953680f9401
parent09f629b997da1e52b1cb93d36566e04908e0517c (diff)
downloadopenembedded-core-contrib-c47e2af5d17022d92533076b9c11504acb80945c.tar.gz
openembedded-core-contrib-c47e2af5d17022d92533076b9c11504acb80945c.tar.bz2
openembedded-core-contrib-c47e2af5d17022d92533076b9c11504acb80945c.zip
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>
-rwxr-xr-xrrs/tools/rrs_upstream_email.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rrs/tools/rrs_upstream_email.py b/rrs/tools/rrs_upstream_email.py
index cdc352dfba..8ef0b3c402 100755
--- a/rrs/tools/rrs_upstream_email.py
+++ b/rrs/tools/rrs_upstream_email.py
@@ -141,6 +141,7 @@ def main():
action="store_const", const=logging.ERROR, dest="loglevel")
options, args = parser.parse_args(sys.argv)
+ logger.setLevel(options.loglevel)
# get recipes for send email
if options.plan: