diff --git a/freenas_network_unlock.py b/freenas_network_unlock.py index b55e5eb..7603980 100644 --- a/freenas_network_unlock.py +++ b/freenas_network_unlock.py @@ -3,7 +3,7 @@ import requests, platform, subprocess, config, logging, simplejson as json, argp from subprocess import call # You must initialize logging, otherwise you'll not see debug output. -logging.basicConfig(level=logging.INFO,format='%(asctime)s - [%(levelname)s] %(message)s', datefmt='%Y-%m-%d %H:%M:%S') +logging.basicConfig(level=logging.DEBUG,format='%(asctime)s - [%(levelname)s] %(message)s', datefmt='%Y-%m-%d %H:%M:%S') def request(resource, method='GET', data=None): if data is None: