diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 960d8d0bc..9b2cfdf5c 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -23,7 +23,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import os -import sys +import sys, logging sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) @@ -31,6 +31,7 @@ import optparse import warnings from traceback import format_exception import bb +from bb import event import bb.msg from bb import cooker from bb import ui @@ -39,7 +40,7 @@ from bb.server import none #from bb.server import xmlrpc __version__ = "1.11.0" - +logger = logging.getLogger("BitBake") #============================================================================# @@ -163,6 +164,8 @@ Default BBFILES are the .bb files in the current directory.""") configuration.pkgs_to_build.extend(args[1:]) configuration.initial_path = os.environ['PATH'] + logger.addHandler(event.LogHandler()) + #server = bb.server.xmlrpc server = bb.server.none |