|
|
@@ -16,7 +16,7 @@ function setAppInstallLogLevel() {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-function getAppInstallLevel() {
|
|
|
+function getAppInstallLogLevel() {
|
|
|
fetch("/api/app-install/loglevel")
|
|
|
.then(async r => {
|
|
|
if (!r.ok) throw new Error(await r.text());
|
|
|
@@ -98,10 +98,6 @@ function restartAppInstallService(event) {
|
|
|
if (!r.ok) {
|
|
|
throw new Error(await r.text());
|
|
|
}
|
|
|
- logLevel.value = "info";
|
|
|
- appInsLogLevel = logLevel.value;
|
|
|
- disconnectLog();
|
|
|
- connectLog("yfkj-app-install.service", "text1");
|
|
|
alert("重启成功");
|
|
|
})
|
|
|
.catch(e => {
|
|
|
@@ -153,7 +149,7 @@ function getAppInstallStatus() {
|
|
|
updateAppInstallButtons(-1);
|
|
|
});
|
|
|
|
|
|
- getAppInstallLevel();
|
|
|
+ getAppInstallLogLevel();
|
|
|
}
|
|
|
|
|
|
function startAppInstallStatusRefresh() {
|