Enable debug encryption when logging set to debug
This commit is contained in:
parent
e25e526ec1
commit
d41345adaa
2 changed files with 10 additions and 0 deletions
|
@ -97,6 +97,11 @@ Page {
|
|||
onDelegateClicked: {
|
||||
loglevel_idx = index;
|
||||
saveConfig();
|
||||
if (is_running) {
|
||||
py.call('service.stop', [], function(result) {});
|
||||
py.call('service.start', [], function(result) {});
|
||||
get_status();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -57,6 +57,11 @@ def save(defaults, data):
|
|||
'loglevel': defobj['loglevel']
|
||||
}
|
||||
|
||||
if defobj['loglevel'] == 'debug':
|
||||
config['Default']['DebugEncryption'] = 'true'
|
||||
else:
|
||||
config['Default']['DebugEncryption'] = 'false'
|
||||
|
||||
for item in dataobj:
|
||||
if item['ssl']:
|
||||
sslval = 'true'
|
||||
|
|
Loading…
Reference in a new issue