Revision: 4907 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4907&view=rev Author: ossman_ Date: 2012-04-26 14:27:52 +0000 (Thu, 26 Apr 2012) Log Message: ----------- The old Windows viewer was capable of logging to file. This is essential on Windows as stdout/stderr don't work well there. Make sure the new viewer also has this functionality.
Modified Paths: -------------- trunk/vncviewer/vncviewer.cxx Modified: trunk/vncviewer/vncviewer.cxx =================================================================== --- trunk/vncviewer/vncviewer.cxx 2012-04-26 09:18:19 UTC (rev 4906) +++ trunk/vncviewer/vncviewer.cxx 2012-04-26 14:27:52 UTC (rev 4907) @@ -290,6 +290,11 @@ bind_textdomain_codeset("libc", "UTF-8"); rfb::initStdIOLoggers(); +#ifdef WIN32 + rfb::initFileLogger("C:\\temp\\vncviewer.log"); +#else + rfb::initFileLogger("/tmp/vncviewer.log"); +#endif rfb::LogWriter::setLogParams("*:stderr:30"); #ifdef SIGHUP This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits