Add basic logging to compile_gwt_clients so that users will actually see the output from utils.run
Signed-off-by: Scott Zawalski <scottz@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4239 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/utils/compile_gwt_clients.py b/utils/compile_gwt_clients.py
index cc68f3f..f198d5b 100755
--- a/utils/compile_gwt_clients.py
+++ b/utils/compile_gwt_clients.py
@@ -1,11 +1,13 @@
#!/usr/bin/python
-import sys, os, shutil, errno, optparse
import common
+import sys, os, shutil, errno, optparse, logging
from autotest_lib.client.common_lib import error, utils
"""
Compile All Autotest GWT Clients Living in autotest/frontend/client/src
"""
+
+logging.basicConfig(level=logging.DEBUG)
_AUTOTEST_DIR = common.autotest_dir
_DEFAULT_GWT_DIR = '/usr/local/lib/gwt'
_DEFAULT_APP_DIR = os.path.join(_AUTOTEST_DIR, 'frontend/client')