[PC-BSD Commits] r21692 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Mon Mar 4 09:45:47 PST 2013


Author: kenmoore
Date: 2013-03-04 17:45:47 +0000 (Mon, 04 Mar 2013)
New Revision: 21692

Modified:
   pcbsd-projects/PCDM/pcdm-xprocess.cpp
Log:
Have PCDM save the DE startup log to ~/.pcdm-startup.log



Modified: pcbsd-projects/PCDM/pcdm-xprocess.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-xprocess.cpp	2013-03-04 17:38:12 UTC (rev 21691)
+++ pcbsd-projects/PCDM/pcdm-xprocess.cpp	2013-03-04 17:45:47 UTC (rev 21692)
@@ -74,7 +74,7 @@
   session->setProcessEnvironment(environ);
   session->setWorkingDirectory(xhome); //set the current directory to the user's home directory
   //Log the DE startup outputs as well
-  session->setStandardOutputFile("/usr/local/share/PCDM/PCDM.log",QIODevice::Append);
+  session->setStandardOutputFile(xhome+"/.pcdm-startup.log",QIODevice::Truncate);
   // Startup the process
   session->start(cmd);
 }



More information about the Commits mailing list