aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2021-07-24 00:58:38 +1000
committeronefang2021-07-24 00:58:38 +1000
commit7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656 (patch)
treec1a77ae045bb347a3badce6d06653f6713252510 /src
parentRejig how the tmux interfaces work. (diff)
downloadopensim-SC-7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656.zip
opensim-SC-7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656.tar.gz
opensim-SC-7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656.tar.bz2
opensim-SC-7e5b7ec9ce65bda2c9ab7d29806a68c2aaac3656.tar.xz
Change logging levels for somethings.
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c16
1 files changed, 8 insertions, 8 deletions
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)
661// TODO - should escape \ " ` in text. 661// TODO - should escape \ " ` in text.
662 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); 662 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);
663 663
664 D("Waiting for '%s'.", text); 664 T("Waiting for '%s'.", text);
665 do 665 do
666 { 666 {
667 i = system(c); 667 i = system(c);
@@ -844,7 +844,7 @@ simList *getSims()
844 { 844 {
845 path = xmprintf("%s/config/%s/%s.ini", scRoot, sim, name); 845 path = xmprintf("%s/config/%s/%s.ini", scRoot, sim, name);
846 newPath = xmprintf("%s/%s.shini", scEtc, name); 846 newPath = xmprintf("%s/%s.shini", scEtc, name);
847 I("Reading .ini file %s", path); 847 d("Reading .ini file %s", path);
848 ini = qconfig_parse_file(NULL, path, '='); 848 ini = qconfig_parse_file(NULL, path, '=');
849 849
850ini->putstr(ini, "INI FILE", name); 850ini->putstr(ini, "INI FILE", name);
@@ -6734,7 +6734,7 @@ void sledjchisl_main(void)
6734 I("qLibc version: qLibc only git tags for version numbers. Sooo, 2.4.4, unless I forgot to update this."); 6734 I("qLibc version: qLibc only git tags for version numbers. Sooo, 2.4.4, unless I forgot to update this.");
6735 I("toybox version: %s", TOYBOX_VERSION); 6735 I("toybox version: %s", TOYBOX_VERSION);
6736 6736
6737 T("SledjChisl arguments %d %d", (int)toys.optflags, (int)toys.optc); 6737 t("SledjChisl arguments %d %d", (int)toys.optflags, (int)toys.optc);
6738 for (i = 0; i < toys.optc; i++) 6738 for (i = 0; i < toys.optc; i++)
6739 T(" argument %d %s", i, toys.optargs[i] ); 6739 T(" argument %d %s", i, toys.optargs[i] );
6740 6740
@@ -6778,14 +6778,14 @@ void sledjchisl_main(void)
6778 grp = xgetgrgid(egid); 6778 grp = xgetgrgid(egid);
6779 ngroups = getgroups(i, groups); 6779 ngroups = getgroups(i, groups);
6780 if (ngroups < 0) perror_exit("getgroups"); 6780 if (ngroups < 0) perror_exit("getgroups");
6781 D("User is in group %s", grp->gr_name); 6781 I("User is in group %s", grp->gr_name);
6782 for (i = 0; i < ngroups; i++) { 6782 for (i = 0; i < ngroups; i++) {
6783 if (groups[i] != egid) 6783 if (groups[i] != egid)
6784 { 6784 {
6785 if ((grp = getgrgid(groups[i]))) 6785 if ((grp = getgrgid(groups[i])))
6786 D("User is in group %s", grp->gr_name); 6786 I("User is in group %s", grp->gr_name);
6787 else 6787 else
6788 D("User is in group %u", groups[i]); 6788 I("User is in group %u", groups[i]);
6789 } 6789 }
6790 } 6790 }
6791 6791
@@ -7531,7 +7531,7 @@ fcgiDone:
7531 if (2 == toys.optc) 7531 if (2 == toys.optc)
7532 target = toys.optargs[1]; 7532 target = toys.optargs[1];
7533 7533
7534T("ARGS - %i |%s| |%s|", currentMode, toys.optargs[0], target); 7534//T("ARGS - %i |%s| |%s|", currentMode, toys.optargs[0], target);
7535 7535
7536 if ((START == currentMode) && !checkSimIsRunning("ROBUST")) 7536 if ((START == currentMode) && !checkSimIsRunning("ROBUST"))
7537 { 7537 {
@@ -7817,7 +7817,7 @@ nextSim:
7817 free(d); 7817 free(d);
7818 } 7818 }
7819 else 7819 else
7820 T("NOT Starting the web stuff."); 7820 I("NOT Starting the web stuff.");
7821 7821
7822 7822
7823/* 7823/*