OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fe4f1
)
Also send bionicbb logs to a file.
author
Dan Albert
<danalbert@google.com>
Sat, 18 Apr 2015 00:51:39 +0000
(17:51 -0700)
committer
Dan Albert
<danalbert@google.com>
Sat, 18 Apr 2015 00:57:15 +0000
(17:57 -0700)
Change-Id: If9a6fdbe004e3b4bb7d868b7255f83c232759f80
tools/bionicbb/bionicbb.py
patch
|
blob
|
history
diff --git
a/tools/bionicbb/bionicbb.py
b/tools/bionicbb/bionicbb.py
index
20d6460
..
a786b27
100644
(file)
--- a/
tools/bionicbb/bionicbb.py
+++ b/
tools/bionicbb/bionicbb.py
@@
-120,6
+120,10
@@
def drop_rejection():
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
+ logger = logging.getLogger()
+ fh = logging.FileHandler('bionicbb.log')
+ fh.setLevel(logging.INFO)
+ logger.addHandler(fh)
# Prevent the job from being rescheduled by the reloader.
if os.environ.get('WERKZEUG_RUN_MAIN') == 'true':