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: {
|
onDelegateClicked: {
|
||||||
loglevel_idx = index;
|
loglevel_idx = index;
|
||||||
saveConfig();
|
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']
|
'loglevel': defobj['loglevel']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if defobj['loglevel'] == 'debug':
|
||||||
|
config['Default']['DebugEncryption'] = 'true'
|
||||||
|
else:
|
||||||
|
config['Default']['DebugEncryption'] = 'false'
|
||||||
|
|
||||||
for item in dataobj:
|
for item in dataobj:
|
||||||
if item['ssl']:
|
if item['ssl']:
|
||||||
sslval = 'true'
|
sslval = 'true'
|
||||||
|
|
Loading…
Reference in a new issue