increased verbosity.

This commit is contained in:
Martin Preuss
2025-10-25 16:36:52 +02:00
parent 7c320b210f
commit c32be5cd38
3 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ int AQH_FdObject_Read(AQH_OBJECT *o, uint8_t *ptrBuffer, uint32_t lenBuffer)
return GWEN_ERROR_TRY_AGAIN;
}
else {
DBG_ERROR(AQH_LOGDOMAIN, "Error on read: %s (%d)", strerror(errno), errno);
DBG_ERROR(AQH_LOGDOMAIN, "Error on read(%d): %s (%d)", xo->fd, strerror(errno), errno);
close(xo->fd);
xo->fd=-1;
return GWEN_ERROR_IO;

View File

@@ -561,7 +561,7 @@ int _handleClosed(AQH_OBJECT *o)
{
AQH_ENDPOINT *xo;
DBG_INFO(AQH_LOGDOMAIN, "Connection closed.");
DBG_ERROR(AQH_LOGDOMAIN, "Connection closed.");
xo=GWEN_INHERIT_GETDATA(AQH_OBJECT, AQH_ENDPOINT, o);
if (xo) {
AQH_Object_Disable(xo->msgWriter);