[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/cygnal cygnal.cpp
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash/cygnal cygnal.cpp |
Date: |
Fri, 14 Dec 2007 01:22:15 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 07/12/14 01:22:15
Modified files:
cygnal : cygnal.cpp
Log message:
Put the log file in the right place.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/cygnal.cpp?cvsroot=gnash&r1=1.18&r2=1.19
Patches:
Index: cygnal.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/cygnal.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- cygnal.cpp 13 Dec 2007 21:20:29 -0000 1.18
+++ cygnal.cpp 14 Dec 2007 01:22:15 -0000 1.19
@@ -116,8 +116,6 @@
int
main(int argc, char *argv[])
{
- dbglogfile.openLog("cygnal-dbg.log");
-
// Initialize national language support
#ifdef ENABLE_NLS
setlocale (LC_MESSAGES, "");
@@ -142,6 +140,12 @@
crcfile.loadFiles();
+ if (crcfile.getDebugLog().size()) {
+ dbglogfile.openLog(crcfile.getDebugLog());
+ } else {
+ dbglogfile.openLog("/tmp/cygnal-dbg.log");
+ }
+
if (crcfile.verbosityLevel() > 0) {
dbglogfile.setVerbosity(crcfile.verbosityLevel());
}
@@ -245,8 +249,6 @@
if (www.getFileStats(filespec) == HTTP::ERROR) {
www.formatErrorResponse(HTTP::NOT_FOUND);
}
-
- cerr << "FileSize is: " << www.getFileSize() << endl;
www.sendGetReply(HTTP::LIFE_IS_GOOD);
// strcpy(thread_data.filespec, filespec.c_str());
// thread_data.statistics = conndata->statistics;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/cygnal cygnal.cpp,
Rob Savoye <=