VirtualBox

Changeset 17391 in vbox for trunk/src


Ignore:
Timestamp:
Mar 5, 2009 11:16:59 AM (16 years ago)
Author:
vboxsync
Message:

NAT: release log too noisy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r17389 r17391  
    12121212                status = getsockopt(so->s, SOL_SOCKET, SO_ERROR, &err, &optlen);
    12131213                if (status != 0)
    1214                     LogRel(("NAT: can't get error status from %R[natsock]\n", so));
     1214                    Log(("NAT: can't get error status from %R[natsock]\n", so));
    12151215#ifndef RT_OS_SOLARIS
    12161216                status = ioctl(so->s, FIONREAD, &inq); /* tcp(7) recommends SIOCINQ which is Linux specific */
     
    12181218                {
    12191219                    /* EINVAL returned if socket in listen state tcp(7)*/
    1220                     LogRel(("NAT: can't get depth of IN queue status from %R[natsock]\n", so));
     1220                    Log(("NAT: can't get depth of IN queue status from %R[natsock]\n", so));
    12211221                }
    12221222                status = ioctl(so->s, TIOCOUTQ, &outq); /* SIOCOUTQ see previous comment */
    12231223                if (status != 0)
    1224                     LogRel(("NAT: can't get depth of OUT queue from %R[natsock]\n", so));
     1224                    Log(("NAT: can't get depth of OUT queue from %R[natsock]\n", so));
    12251225#else
    12261226                /*
     
    12431243                         * Give TCP/IP stack wait or expire the socket.
    12441244                         */
    1245                         LogRel(("NAT: %R[natsock] err(%d:%s) s(in:%d,out:%d)happens on read I/O, "
     1245                        Log(("NAT: %R[natsock] err(%d:%s) s(in:%d,out:%d)happens on read I/O, "
    12461246                            "other side close connection \n", so, err, strerror(err), inq, outq));
    12471247                        CONTINUE(tcp);
     
    12531253                    && !UNIX_CHECK_FD_SET(so, NetworkEvents, xfds))
    12541254                {
    1255                     LogRel(("NAT: system expires the socket %R[natsock] err(%d:%s) s(in:%d,out:%d) happens on non-I/O. ",
     1255                    Log(("NAT: system expires the socket %R[natsock] err(%d:%s) s(in:%d,out:%d) happens on non-I/O. ",
    12561256                            so, err, strerror(err), inq, outq));
    12571257                    goto tcp_input_close;
    12581258                }
    1259                 LogRel(("NAT: %R[natsock] we've met(%d:%s) s(in:%d, out:%d) unhandled combination hup (%d) "
     1259                Log(("NAT: %R[natsock] we've met(%d:%s) s(in:%d, out:%d) unhandled combination hup (%d) "
    12601260                    "rederr(%d) on (r:%d, w:%d, x:%d)\n",
    12611261                        so, err, strerror(err),
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette