|
|
|
|
@ -21,6 +21,7 @@ String platform=de.superx.servlet.SuperXManager.isHis1?"HISinOne":"SuperX";
@@ -21,6 +21,7 @@ String platform=de.superx.servlet.SuperXManager.isHis1?"HISinOne":"SuperX";
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
|
<title>Webanwendung Manager</title> |
|
|
|
|
<link rel="stylesheet" href="../../style/bulma.css" /> |
|
|
|
|
<link rel="stylesheet" href="../../style/bulma-tooltip.min.css" /> |
|
|
|
|
<script type="text/javascript" src="/superx/xml/js/memtext/sx_functions.js"></script> |
|
|
|
|
</head> |
|
|
|
|
<script language="Javascript"> |
|
|
|
|
@ -72,14 +73,18 @@ async function TransletCacheRefresh()
@@ -72,14 +73,18 @@ async function TransletCacheRefresh()
|
|
|
|
|
async function Log4JReload() |
|
|
|
|
{ |
|
|
|
|
const url="../../ds/api/logs/reload_log4j"; |
|
|
|
|
document.getElementById("LoggingReloadStatus").innerHTML="lade Logs"; |
|
|
|
|
try { |
|
|
|
|
const response = await fetch(url,{method: "POST"}); |
|
|
|
|
const response = await fetch(url,{method: "POST", headers: { |
|
|
|
|
"Content-Type": "application/json" |
|
|
|
|
}}); |
|
|
|
|
if (!response.ok) { |
|
|
|
|
throw new Error(`Serverantwort: ${response.status}`); |
|
|
|
|
document.getElementById("LoggingReloadStatus").innerHTML = "FEHLER `${response.status}`"; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const cacheStatus = await response.text(); |
|
|
|
|
document.getElementById("LoggingReloadStatus").innerHTML = cacheStatus; |
|
|
|
|
const logStatus = await response.text(); |
|
|
|
|
document.getElementById("LoggingReloadStatus").innerHTML = logStatus; |
|
|
|
|
} catch (error) { |
|
|
|
|
document.getElementById("LoggingReloadStatus").innerHTML = error.message; |
|
|
|
|
} |
|
|
|
|
@ -475,6 +480,9 @@ if(tab.equals("log"))
@@ -475,6 +480,9 @@ if(tab.equals("log"))
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
<button class="button has-tooltip-multiline has-tooltip-bottom" data-tooltip="Die Datei WEB-INF/log4j.properties neu einlesen" |
|
|
|
|
onClick="Log4JReload();">Log-Konfiguration neu laden</button> |
|
|
|
|
<span id="LoggingReloadStatus"></span> |
|
|
|
|
<section class="section"> |
|
|
|
|
<form name="log" > |
|
|
|
|
<div class="container" id="loadMask" > |
|
|
|
|
|