Index: /trunk/psLib/test/sysUtils/builddir/tst_psLogMsg03.d
===================================================================
--- /trunk/psLib/test/sysUtils/builddir/tst_psLogMsg03.d	(revision 1150)
+++ /trunk/psLib/test/sysUtils/builddir/tst_psLogMsg03.d	(revision 1151)
@@ -3,6 +3,6 @@
   ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
   ../../include/psString.h ../../include/psType.h ../../include/psList.h \
-  ../../include/psVector.h ../../include/psHash.h \
-  ../../include/psScalar.h ../../include/psImage.h \
+  ../../include/psCompare.h ../../include/psVector.h \
+  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
   ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
   ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
Index: /trunk/psLib/test/sysUtils/tst_psLogMsg03.c
===================================================================
--- /trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 1150)
+++ /trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 1151)
@@ -15,4 +15,6 @@
     int testStatus = true;
     int currentId = psMemGetId();
+    FILE* file;
+    char line[256];
 
     printPositiveTestHeader(stdout,
@@ -20,6 +22,6 @@
                             "psLogSetDestination()");
 
-    printf("------------- psLogSetDestination(PS_LOG_NONE) -------------\n");
-    psLogSetDestination(PS_LOG_NONE);
+    printf("--------------- psLogSetDestination(PS_LOG_NONE) ----------------\n");
+    psLogSetDestination("none");
     for (i=0;i<10;i++) {
         psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
@@ -27,5 +29,5 @@
 
     printf("------------- psLogSetDestination(PS_LOG_TO_STDERR) -------------\n");
-    psLogSetDestination(PS_LOG_TO_STDERR);
+    psLogSetDestination("dest:stderr");
     for (i=0;i<10;i++) {
         psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
@@ -33,8 +35,21 @@
 
     printf("------------- psLogSetDestination(PS_LOG_TO_STDOUT) -------------\n");
-    psLogSetDestination(PS_LOG_TO_STDOUT);
+    psLogSetDestination("dest:stdout");
     for (i=0;i<10;i++) {
         psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
     }
+    printf("--------------- psLogSetDestination(""file:log.txt"") ---------------\n");
+    psLogSetDestination("file:log.txt");
+    for (i=0;i<10;i++) {
+        psLogMsg(__func__, i, "Hello World!  My level is %d\n", i);
+    }
+
+    psLogSetDestination("none");
+    printf("--------------------- The Contents of log.txt -------------------\n");
+    file = fopen("log.txt","r");
+    while ( fgets(line,256,file) != NULL ) {
+        printf("%s",line);
+    }
+    fclose(file);
 
     printFooter(stdout,
