Fixing log_t type to match libcoap