Index: trunk/ppStats/src/ppStatsStandAlone.c
===================================================================
--- trunk/ppStats/src/ppStatsStandAlone.c	(revision 8338)
+++ trunk/ppStats/src/ppStatsStandAlone.c	(revision 8339)
@@ -29,10 +29,10 @@
             outFile = fopen(outName, "w");
             if (!outFile) {
-                psError(PS_ERR_IO, false, "Unable to open output file %s\n", outName);
+                psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", outName);
                 status = EXIT_FAILURE;
                 goto die;
             }
         } else {
-            psError(PS_ERR_IO, false, "Unable to open output file.\n");
+            psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file.\n");
             status = EXIT_FAILURE;
             goto die;
@@ -44,5 +44,5 @@
 
     if (psListLength(results->list) == 0) {
-        psError(PS_ERR_UNKNOWN, true, "No output.\n");
+        psLogMsg("ppStats", PS_LOG_ERROR, "No output.\n");
         psFree(results);
         status = EXIT_FAILURE;
@@ -53,5 +53,5 @@
     psString output = psMetadataConfigFormat(results);
     if (!output) {
-        psError(PS_ERR_UNKNOWN, false, "Unable to generate configuration file with result.\n");
+        psLogMsg("ppStats", PS_LOG_ERROR, "Unable to generate configuration file with result.\n");
         psFree(results);
         status = EXIT_FAILURE;
