Changeset 11185 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Nov 9, 2026, 12:15:48 PM (12 hours ago)
Author:
stuerze
Message:

Structured logging improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmain.cpp

    r11179 r11185  
    149149        "   logFileStructured {Structured logfile in addition to the logfile, full path [character string]}\n"
    150150        "   logFormatStructured {Format of the structured logfile [character string: json|logfmt]}\n"
     151        "   logLevelStructured {Minimum level of the records in the structured logfile [character string: debug|info|warning|error]}\n"
    151152        "   rnxAppend        {Append files [integer number: 0=no,2=yes]}\n"
    152153        "   onTheFlyInterval {Configuration reload interval [character string: no|1 day|1 hour|5 min|1 min]}\n"
    … …  
    450451#endif
    451452
    452 #ifdef Q_OS_MACX
    453     if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_8)
    454     {
    455         // fix Mac OS X 10.9 (mavericks) font issue
    456         // https://bugreports.qt-project.org/browse/QTBUG-32789
    457         QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");
    458     }
    459 #endif
    460 
    461453    bool GUIenabled = interactive || displaySet;
    462454    QScopedPointer<QCoreApplication> app(createApplication(argc, argv, GUIenabled));
    … …  
    575567        BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), app->instance(), SLOT(quit()));
    576568
    577         BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
     569        BNC_CORE->message("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true, "bnc", t_logRecord::info);
    578570
    579571
    … …  
    586578            caster->readMountPoints();
    587579            if (caster->numStations() == 0) {
    588                 BNC_CORE->slotMessage("bncMain: number of caster stations: 0 => exit", true);
     580                BNC_CORE->message("bncMain: number of caster stations: 0 => exit", true, "bnc", t_logRecord::error);
    589581                exit(3);
    590582            }
Note: See TracChangeset for help on using the changeset viewer.