Index: /trunk/psLib/src/sys/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sys/psLogMsg.c	(revision 1142)
+++ /trunk/psLib/src/sys/psLogMsg.c	(revision 1143)
@@ -11,6 +11,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-30 01:58:20 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-30 02:07:47 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -149,4 +149,8 @@
     }
 
+    if (strlen(fmt) == 0) {
+        fmt = "THLNM";
+    }
+
     // Step through each character in the format string.  For each letter
     // in that string, set/unset the appropriate logging.
@@ -298,4 +302,6 @@
     if (head_ptr > head) {
         *head_ptr++ = '|';
+    } else if (!p_psLogMsg) { // no output desired
+        return;
     }
     *head_ptr = '\0';
Index: /trunk/psLib/src/sysUtils/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 1142)
+++ /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 1143)
@@ -11,6 +11,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-06-30 01:58:20 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-06-30 02:07:47 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -149,4 +149,8 @@
     }
 
+    if (strlen(fmt) == 0) {
+        fmt = "THLNM";
+    }
+
     // Step through each character in the format string.  For each letter
     // in that string, set/unset the appropriate logging.
@@ -298,4 +302,6 @@
     if (head_ptr > head) {
         *head_ptr++ = '|';
+    } else if (!p_psLogMsg) { // no output desired
+        return;
     }
     *head_ptr = '\0';
