dpp-nfc: Enable more verbose nfcpy debugging
Set logging level to various upper layer nfcpy modules to enable more detailed debugging of the actual NFC operations when requested (-d on the command line). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
7c04bab710
commit
3021b14c49
1 changed files with 8 additions and 0 deletions
|
@ -893,6 +893,14 @@ def main():
|
|||
test_crn = None
|
||||
|
||||
logging.basicConfig(level=args.loglevel)
|
||||
for l in ['nfc.clf.rcs380',
|
||||
'nfc.clf.transport',
|
||||
'nfc.clf.device',
|
||||
'nfc.clf.__init__',
|
||||
'nfc.llcp',
|
||||
'nfc.handover']:
|
||||
log = logging.getLogger(l)
|
||||
log.setLevel(args.loglevel)
|
||||
|
||||
global init_on_touch
|
||||
init_on_touch = args.init_on_touch
|
||||
|
|
Loading…
Reference in a new issue