Changeset 11185 in ntrip for trunk/BNC/src/bncnetqueryv0.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/bncnetqueryv0.cpp

    r8204 r11185  
    6767        _socket = 0;
    6868        _status = error;
    69         emit newMessage(_url.path().toLatin1() + " read timeout", true);
     69        emit newLogRecord(t_logRecord::message(t_logRecord::warning, _url.path().toLatin1() + " read timeout"), true);
    7070        return;
    7171      }
    … …  
    102102    _socket = 0;
    103103    _status = error;
    104       emit(newMessage(_url.path().toLatin1().replace(0,1,"")
    105                       + ": Connect timeout, reconnecting", true));
     104      emit newLogRecord(t_logRecord::message(t_logRecord::warning, _url.path().toLatin1().replace(0,1,"")
     105                      + ": Connect timeout, reconnecting"), true);
    106106    return;
    107107  }
    … …  
    115115      _socket = 0;
    116116      _status = error;
    117       emit newMessage(_url.path().toLatin1().replace(0,1,"")
    118                       + ": Read timeout", true);
     117      emit newLogRecord(t_logRecord::message(t_logRecord::warning, _url.path().toLatin1().replace(0,1,"")
     118                      + ": Read timeout"), true);
    119119      return;
    120120    }
Note: See TracChangeset for help on using the changeset viewer.