chore(udp): log the ADIF record, not just its size
"Was the grid in what WSJT-X sent, or did OpsLog put it there?" is the first question asked when a contact is logged in the wrong square, and a byte count cannot answer it. An expedition logged at its licence holder's home QTH stayed undiagnosable for exactly that reason. One line per QSO, around 280 bytes, whitespace collapsed so the record sits on a single line.
This commit is contained in:
@@ -12133,7 +12133,13 @@ func (a *App) consumeUDPEvents() {
|
||||
})
|
||||
}
|
||||
case ev.LoggedADIF != "":
|
||||
applog.Printf("udp: emit udp:logged_qso (%d bytes ADIF)\n", len(ev.LoggedADIF))
|
||||
// The RECORD, not just its size. "Was the grid in what WSJT-X sent, or
|
||||
// did OpsLog put it there?" is the first question asked when a contact
|
||||
// is logged in the wrong square, and a byte count cannot answer it —
|
||||
// an expedition logged at its licence holder's home QTH stayed
|
||||
// undiagnosable for exactly that reason. One line per QSO, ~280 bytes.
|
||||
applog.Printf("udp: emit udp:logged_qso (%d bytes) %s\n",
|
||||
len(ev.LoggedADIF), strings.Join(strings.Fields(ev.LoggedADIF), " "))
|
||||
wruntime.EventsEmit(a.ctx, "udp:logged_qso", map[string]any{
|
||||
"config_id": ev.ConfigID,
|
||||
"service": string(ev.Service),
|
||||
|
||||
Reference in New Issue
Block a user