Index: trunk/psLib/test/sysUtils/tst_psLogMsg03.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 963)
+++ 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,
