diff options
author | onefang | 2021-09-14 13:55:58 +1000 |
---|---|---|
committer | onefang | 2021-09-14 13:55:58 +1000 |
commit | 708dcaa8409a427f3bc374695afeb3bf1f2f2800 (patch) | |
tree | 476f410dc97bd41345c88a0d966597061a374afe | |
parent | Remove debug stuff from login web page. (diff) | |
download | opensim-SC-708dcaa8409a427f3bc374695afeb3bf1f2f2800.zip opensim-SC-708dcaa8409a427f3bc374695afeb3bf1f2f2800.tar.gz opensim-SC-708dcaa8409a427f3bc374695afeb3bf1f2f2800.tar.bz2 opensim-SC-708dcaa8409a427f3bc374695afeb3bf1f2f2800.tar.xz |
More logging tweakage.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index c2ca044..f0a9f3f 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -5550,7 +5550,7 @@ static void accountWrite(reqData *Rd) | |||
5550 | if (s) | 5550 | if (s) |
5551 | I("Creating user %s.", file); | 5551 | I("Creating user %s.", file); |
5552 | else | 5552 | else |
5553 | I("Updating user %s.", file); | 5553 | V("Updating user %s.", file); |
5554 | 5554 | ||
5555 | if (l != writeall(fd, tnm, l)) | 5555 | if (l != writeall(fd, tnm, l)) |
5556 | perror_msg("Writing %s", file); | 5556 | perror_msg("Writing %s", file); |
@@ -5587,7 +5587,7 @@ static void accountWrite(reqData *Rd) | |||
5587 | 5587 | ||
5588 | free(file); | 5588 | free(file); |
5589 | file = xmprintf("%s.lua", uuid); | 5589 | file = xmprintf("%s.lua", uuid); |
5590 | I("Symlinking %s to %s", file, nm); | 5590 | V("Symlinking %s to %s", file, nm); |
5591 | if (0 != symlink(file, nm)) | 5591 | if (0 != symlink(file, nm)) |
5592 | perror_msg("Symlinking %s to %s", file, nm); | 5592 | perror_msg("Symlinking %s to %s", file, nm); |
5593 | free(nm); | 5593 | free(nm); |
@@ -5603,7 +5603,7 @@ notWritten: | |||
5603 | { | 5603 | { |
5604 | if (Rd->fromDb) | 5604 | if (Rd->fromDb) |
5605 | { | 5605 | { |
5606 | I("Updating database user %s.", getStrH(Rd->stuff, "name")); | 5606 | V("Updating database user %s.", getStrH(Rd->stuff, "name")); |
5607 | } | 5607 | } |
5608 | else | 5608 | else |
5609 | { | 5609 | { |
@@ -5685,7 +5685,7 @@ notWritten: | |||
5685 | dbRequests->addfirst(dbRequests, &gUserI, sizeof(dbRequest *)); | 5685 | dbRequests->addfirst(dbRequests, &gUserI, sizeof(dbRequest *)); |
5686 | } | 5686 | } |
5687 | 5687 | ||
5688 | I("Creating database user %s %s.", uuid, getStrH(Rd->stuff, "name")); | 5688 | V("Creating database user %s %s.", uuid, getStrH(Rd->stuff, "name")); |
5689 | char *first = Rd->stuff->getstr(Rd->stuff, "name", true), *last = strchr(first, ' '); | 5689 | char *first = Rd->stuff->getstr(Rd->stuff, "name", true), *last = strchr(first, ' '); |
5690 | 5690 | ||
5691 | // create user record. | 5691 | // create user record. |
@@ -5792,7 +5792,7 @@ notWritten: | |||
5792 | char *cmd = xmprintf("%d.%d", simd->window, simd->pane); | 5792 | char *cmd = xmprintf("%d.%d", simd->window, simd->pane); |
5793 | char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); | 5793 | char *c = xmprintf("load iar -m %s %s / password /opt/opensim_SC/backups/DefaultMember.IAR", first, last); |
5794 | 5794 | ||
5795 | I("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name); | 5795 | V("Loading default member IAR for %s %s in sim %s, this might take a couple of minutes.", first, last, name); |
5796 | V(c); | 5796 | V(c); |
5797 | sendTmuxCmd(cmd, c); | 5797 | sendTmuxCmd(cmd, c); |
5798 | free(cmd); | 5798 | free(cmd); |