Index: /trunk/psLib/src/sys/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sys/psLogMsg.c	(revision 497)
+++ /trunk/psLib/src/sys/psLogMsg.c	(revision 498)
@@ -19,5 +19,5 @@
 #define MAX_LOG_LEVEL 9
 static int logDest = PS_LOG_TO_STDERR; // where to log messages
-static int logLevel = PS_LOG_INFO; // log all messages at this or above
+static int logLevel = PS_LOG_INFO;     // log all messages at this or above
 /*****************************************************************************
 psSetLogLevel(): Set the current log level and return old level.
@@ -82,15 +82,12 @@
 static int log_msg = 1;
 /*****************************************************************************
-    psSetLogFormat(): Set the format of psLogMsg output.
- 
-    More precisely, provide a string consisting of the letters
- H (host)
- L (level)
- M (message)
- N (name)
- T (time).
-    The default is "HLMNT"
+    psSetLogFormat(): Set the format of psLogMsg output.  More precisely,
+    provide a string consisting of the letters {H (host), L (level), M
+    (message), N (name), T (time)}.  The default is "HLMNT".  This string
+    determines whether or not they associated type of information will be
+    included in message logs.  It does not determine the order in which that
+    information will appear (that order is fixed).
     Input:
- fmt: astring specifying the format.
+ fmt: a string specifying the format.
     Output:
  none.
@@ -132,4 +129,5 @@
             //     psError(__func__, PS_ERR_UNKNOWN, 1,
             //            "Unknown logging keyword %c", *ptr);
+            psError(__func__, "Unknown logging keyword %c", *ptr);
             break;
         }
Index: /trunk/psLib/src/sysUtils/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 497)
+++ /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 498)
@@ -19,5 +19,5 @@
 #define MAX_LOG_LEVEL 9
 static int logDest = PS_LOG_TO_STDERR; // where to log messages
-static int logLevel = PS_LOG_INFO; // log all messages at this or above
+static int logLevel = PS_LOG_INFO;     // log all messages at this or above
 /*****************************************************************************
 psSetLogLevel(): Set the current log level and return old level.
@@ -82,15 +82,12 @@
 static int log_msg = 1;
 /*****************************************************************************
-    psSetLogFormat(): Set the format of psLogMsg output.
- 
-    More precisely, provide a string consisting of the letters
- H (host)
- L (level)
- M (message)
- N (name)
- T (time).
-    The default is "HLMNT"
+    psSetLogFormat(): Set the format of psLogMsg output.  More precisely,
+    provide a string consisting of the letters {H (host), L (level), M
+    (message), N (name), T (time)}.  The default is "HLMNT".  This string
+    determines whether or not they associated type of information will be
+    included in message logs.  It does not determine the order in which that
+    information will appear (that order is fixed).
     Input:
- fmt: astring specifying the format.
+ fmt: a string specifying the format.
     Output:
  none.
@@ -132,4 +129,5 @@
             //     psError(__func__, PS_ERR_UNKNOWN, 1,
             //            "Unknown logging keyword %c", *ptr);
+            psError(__func__, "Unknown logging keyword %c", *ptr);
             break;
         }
