improved logging and execution from repo

This commit is contained in:
Ziver Koc 2025-12-24 04:18:58 +01:00
parent 1779916d97
commit 1f40d4b1f2
2 changed files with 10 additions and 1 deletions

View file

@ -58,6 +58,8 @@ public class HalContext {
public static final String RUNTIME_ROOT;
static {
logger.info("Runtime folder: " + new File("").getAbsolutePath());
if (FileUtil.find("build/install/Hal") != null) // Development environment
RUNTIME_ROOT = "build/install/Hal";
else
@ -95,7 +97,7 @@ public class HalContext {
fileConf.load(in);
in.close();
} else {
logger.info("No hal.conf file found");
logger.info("No hal.conf file found at: " + CONF_FILE);
}
// Init DB