Index: trunk/psLib/src/sysUtils/psLogMsg.c
===================================================================
--- trunk/psLib/src/sysUtils/psLogMsg.c	(revision 2204)
+++ trunk/psLib/src/sysUtils/psLogMsg.c	(revision 2273)
@@ -11,6 +11,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 00:57:31 $
+ *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-04 01:05:00 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -110,7 +110,7 @@
 
     if (sscanf(dest, "%4s:%256s", protocol, location) < 2) {
-        psErrorMsg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
-                   PS_ERRORTEXT_psLogMsg_DESTINATION_MALFORMED,
-                   dest);
+        psError(PS_ERR_LOCATION_INVALID, true,
+                PS_ERRORTEXT_psLogMsg_DESTINATION_MALFORMED,
+                dest);
         return false;
     }
@@ -131,7 +131,7 @@
             return true;
         }
-        psErrorMsg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
-                   PS_ERRORTEXT_psLogMsg_DEST_LOCATION_INVALID,
-                   location);
+        psError(PS_ERR_LOCATION_INVALID, true,
+                PS_ERRORTEXT_psLogMsg_DEST_LOCATION_INVALID,
+                location);
         return 1;
     } else if (strcmp(protocol, "file") == 0) {
@@ -139,7 +139,7 @@
 
         if (file == NULL) {
-            psErrorMsg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_IO,
-                       PS_ERRORTEXT_psLogMsg_OPEN_FILE_FAILED,
-                       location);
+            psError(PS_ERR_IO, true,
+                    PS_ERRORTEXT_psLogMsg_OPEN_FILE_FAILED,
+                    location);
             return false;
         }
@@ -151,7 +151,7 @@
     }
 
-    psErrorMsg(PS_ERRORNAME_DOMAIN "psLogSetDestination", true, PS_ERR_LOCATION_INVALID,
-               PS_ERRORTEXT_psLogMsg_UNSUPPORTED_PROTOCOL,
-               protocol);
+    psError(PS_ERR_LOCATION_INVALID, true,
+            PS_ERRORTEXT_psLogMsg_UNSUPPORTED_PROTOCOL,
+            protocol);
     return false;
 }
@@ -215,6 +215,6 @@
             break;
         default:
-            psErrorMsg(PS_ERRORNAME_DOMAIN "psLogSetFormat", true, PS_ERR_BAD_PARAMETER_VALUE,
-                       PS_ERRORTEXT_psLogMsg_UNKNOWN_KEY, *ptr);
+            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
+                    PS_ERRORTEXT_psLogMsg_UNKNOWN_KEY, *ptr);
             break;
         }
