From 7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 24 Jul 2021 00:58:38 +1000 Subject: Change logging levels for somethings. --- src/sledjchisl/sledjchisl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2000f57..440b4ff 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -661,7 +661,7 @@ void waitTmuxText(char *dest, char *text) // TODO - should escape \ " ` in text. char *c = xmprintf("sleep 5; %s %s/%s capture-pane -t %s:'%s' -p | grep -F \"%s\" 2>&1 > /dev/null", Tcmd, scRun, Tsocket, Tconsole, dest, text); - D("Waiting for '%s'.", text); + T("Waiting for '%s'.", text); do { i = system(c); @@ -844,7 +844,7 @@ simList *getSims() { path = xmprintf("%s/config/%s/%s.ini", scRoot, sim, name); newPath = xmprintf("%s/%s.shini", scEtc, name); - I("Reading .ini file %s", path); + d("Reading .ini file %s", path); ini = qconfig_parse_file(NULL, path, '='); ini->putstr(ini, "INI FILE", name); @@ -6734,7 +6734,7 @@ void sledjchisl_main(void) I("qLibc version: qLibc only git tags for version numbers. Sooo, 2.4.4, unless I forgot to update this."); I("toybox version: %s", TOYBOX_VERSION); - T("SledjChisl arguments %d %d", (int)toys.optflags, (int)toys.optc); + t("SledjChisl arguments %d %d", (int)toys.optflags, (int)toys.optc); for (i = 0; i < toys.optc; i++) T(" argument %d %s", i, toys.optargs[i] ); @@ -6778,14 +6778,14 @@ void sledjchisl_main(void) grp = xgetgrgid(egid); ngroups = getgroups(i, groups); if (ngroups < 0) perror_exit("getgroups"); - D("User is in group %s", grp->gr_name); + I("User is in group %s", grp->gr_name); for (i = 0; i < ngroups; i++) { if (groups[i] != egid) { if ((grp = getgrgid(groups[i]))) - D("User is in group %s", grp->gr_name); + I("User is in group %s", grp->gr_name); else - D("User is in group %u", groups[i]); + I("User is in group %u", groups[i]); } } @@ -7531,7 +7531,7 @@ fcgiDone: if (2 == toys.optc) target = toys.optargs[1]; -T("ARGS - %i |%s| |%s|", currentMode, toys.optargs[0], target); +//T("ARGS - %i |%s| |%s|", currentMode, toys.optargs[0], target); if ((START == currentMode) && !checkSimIsRunning("ROBUST")) { @@ -7817,7 +7817,7 @@ nextSim: free(d); } else - T("NOT Starting the web stuff."); + I("NOT Starting the web stuff."); /* -- cgit v1.1