AltraMayor / AltraMayor/gatekeeper
Improve log entries with context, more accurate string error, and more information
Aperta
enhancement
good first issue
- Lingua principale
- C
- Stelle
- 1.6k
- Fork
- 252
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Add context to log entries with "%s(%s): ". The first string is `__func__`, and the second string is some proper context. A common example of context is `iface->name` to identify the interface associated with the log entry.
Review all calls of `strerror()` and replace the ones that are dealing with DPDK's errors with `rte_strerror()`.
Add `"(errno=%i): %s\n"` to `G_LOG()`'s that have `errno`, `rte_errno`, or `-ret` as well. The string is either `strerror()` or `rte_strerror()`.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.