AltraMayor / AltraMayor/gatekeeper

Improve log entries with context, more accurate string error, and more information

Abierto
#574 0 comentarios 0 reacciones 1 asignado Reclamado por @mengxiang0811 Ver en GitHub
enhancement good first issue
Lenguaje dominante
C
Estrellas
1.6k
Forks
252
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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()`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.