cr50_test: add ccd_lockout debug info

It's a bit difficult to figure out the ccd lockout without more debug
information. This change adds some logs.

BUG=none
BRANCH=none
TEST=run some tests

Change-Id: Icd2802ca475a5b9489825cac8b2dbb6fb8b24f38
Signed-off-by: Mary Ruthven <mruthven@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1110444
Tested-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Kevin Shelton <kmshelton@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
diff --git a/server/cros/faft/cr50_test.py b/server/cros/faft/cr50_test.py
index 0bc6b70..eb44ddc 100644
--- a/server/cros/faft/cr50_test.py
+++ b/server/cros/faft/cr50_test.py
@@ -40,6 +40,8 @@
             raise error.TestNAError('Test can only be run on devices with '
                                     'access to the Cr50 console')
 
+        logging.info('cmdline args: %r', cmdline_args)
+
         args = {}
         for arg in cmdline_args:
             if '=' in arg:
@@ -49,6 +51,8 @@
                 logging.debug('ignoring misformatted arg "%s"', arg)
 
         self.ccd_lockout = args.get('ccd_lockout', '').lower() == 'true'
+        logging.info('ccd is%s locked out', '' if self.ccd_lockout else ' not')
+
         self.can_set_ccd_level = (not self.cr50.using_ccd() or
             self.cr50.testlab_is_on()) and not self.ccd_lockout
         self.original_ccd_level = self.cr50.get_ccd_level()