Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 18036)
+++ trunk/psModules/src/config/pmConfig.c	(revision 18061)
@@ -556,5 +556,5 @@
         }
         if (logDest) {
-            psString resolved = pmConfigConvertFilename(logDest, config, true); // Resolved filename
+            psString resolved = pmConfigConvertFilename(logDest, config, true, false); // Resolved filename
             if (!resolved || strlen(resolved) == 0) {
                 psWarning("Unable to resolve log destination: %s --- ignored", logDest);
@@ -614,5 +614,5 @@
         }
         if (traceDest) {
-            psString resolved = pmConfigConvertFilename(traceDest, config, true); // Resolved filename
+            psString resolved = pmConfigConvertFilename(traceDest, config, true, false); // Resolved filename
             if (!resolved || strlen(resolved) == 0) {
                 psWarning("Unable to resolve trace destination: %s --- ignored", traceDest);
@@ -1490,5 +1490,5 @@
 
 // convert the supplied name, create a new output psString
-psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create)
+psString pmConfigConvertFilename(const char *filename, const pmConfig *config, bool create, bool truncate)
 {
     PS_ASSERT_STRING_NON_EMPTY(filename, NULL);
Index: trunk/psModules/src/config/pmConfig.h
===================================================================
--- trunk/psModules/src/config/pmConfig.h	(revision 18036)
+++ trunk/psModules/src/config/pmConfig.h	(revision 18061)
@@ -5,6 +5,6 @@
  *  @author Eugene Magnier, IfA
  *
- *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-06-09 00:38:42 $
+ *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-06-10 20:28:25 $
  *  Copyright 2005-2006 Institute for Astronomy, University of Hawaii
  */
@@ -163,5 +163,6 @@
     const char *filename,               ///< file path/URI
     const pmConfig *config,             ///< configuration
-    bool create                         ///< create the file if it doesn't exist
+    bool create,                        ///< create the file if it doesn't exist
+    bool truncate                       ///< truncate the file (if it exists)
 );
 
