Skip to content

Commit

Permalink
Cleaned up command logging notices to be more consistent:
Browse files Browse the repository at this point in the history
Notice: nscp:<num> <script>
Notice: nscp:<num> done
  • Loading branch information
shmooved committed Jan 17, 2003
1 parent d61583a commit 9a0dfaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nscp/nscp.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Tcl commands.
*/

static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nscp/nscp.c,v 1.17 2002/10/10 19:25:30 mpagenva Exp $, compiled: " __DATE__ " " __TIME__;
static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nscp/nscp.c,v 1.18 2003/01/17 21:29:49 shmooved Exp $, compiled: " __DATE__ " " __TIME__;

#include "ns.h"

Expand Down Expand Up @@ -361,7 +361,7 @@ EvalThread(void *arg)
}

if (sessPtr->modPtr->commandLogging) {
Ns_Log(Notice, " %d> %s", ncmd, ds.string);
Ns_Log(Notice, "nscp:%d %s", ncmd, ds.string);
}

if (Tcl_RecordAndEval(interp, ds.string, 0) != TCL_OK) {
Expand All @@ -377,7 +377,7 @@ EvalThread(void *arg)
}

if (sessPtr->modPtr->commandLogging) {
Ns_Log(Notice, " %d> Command Completed.", ncmd);
Ns_Log(Notice, "nscp:%d done", ncmd);
}
}
done:
Expand Down

0 comments on commit 9a0dfaf

Please sign in to comment.