Changeset 1549 in ntrip
- Timestamp:
- Jan 29, 2009, 12:07:42 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r1539 r1549 161 161 // First time resolve the log file name 162 162 // ------------------------------------ 163 if (_logFileFlag == 0) { 163 QDate currDate = currentDateAndTimeGPS().date(); 164 if (_logFileFlag == 0 || _fileDate != currDate) { 165 delete _logFile; 164 166 _logFileFlag = 1; 165 167 bncSettings settings; … … 167 169 if ( !logFileName.isEmpty() ) { 168 170 expandEnvVar(logFileName); 169 _logFile = new QFile(logFileName); 171 _logFile = new QFile(logFileName + "_" + 172 currDate.toString("yyMMdd").toAscii().data()); 173 _fileDate = currDate; 170 174 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) { 171 175 _logFile->open(QIODevice::WriteOnly | QIODevice::Append); -
trunk/BNC/bncapp.h
r1538 r1549 100 100 QMultiMap<long, QString>* _corrs; 101 101 QString _confFileName; 102 QDate _fileDate; 102 103 }; 103 104 #endif -
trunk/BNC/bnchelp.html
r1546 r1549 199 199 <p><a name="genlog"><h4>3.4.1 Logfile - optional</h4></p> 200 200 <p> 201 Records of BNC's activities are shown in the 'Logs' canvas on the bottom of the main window. These logs can be saved into a file when a valid path is specified in the 'Logfile (full path)' field. The message log coversthe communication status between BNC and the NTRIP broadcaster as well as problems that may occur in the communication link, stream availability, stream delay, stream conversion etc. All times are given in UTC. The default value for 'Logfile (full path)' is an empty option field, meaning that BNC logs will not saved into a file.201 Records of BNC's activities are shown in the 'Logs' canvas on the bottom of the main window. These logs can be saved into daily logfiles when a valid path is specified in the 'Logfile (full path)' field. The logfile name will automatically be extended by a date string '_YYMMDD' carrying the current date. Message logs cover the communication status between BNC and the NTRIP broadcaster as well as problems that may occur in the communication link, stream availability, stream delay, stream conversion etc. All times are given in UTC. The default value for 'Logfile (full path)' is an empty option field, meaning that BNC logs will not saved into a file. 202 202 </p> 203 203
Note:
See TracChangeset
for help on using the changeset viewer.