Changeset 54a0070 in mainline for uspace/srv/net/ethip/arp.c


Ignore:
Timestamp:
2012-09-10T09:54:09Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40b5421
Parents:
1dbd189 (diff), 42bde6a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~vojtech-horky/helenos/logging

All logging is controlled by the logger service.

The API allows to create hierarchical logs and each log_msg()
must specify which log to use.

It is possible to change reported log level at runtime via
logset utility or at boot time through GRUB parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/arp.c

    r1dbd189 r54a0070  
    5959        ethip_link_addr_t *laddr;
    6060
    61         log_msg(LVL_DEBUG, "arp_received()");
     61        log_msg(LOG_DEFAULT, LVL_DEBUG, "arp_received()");
    6262
    6363        rc = arp_pdu_decode(frame->data, frame->size, &packet);
     
    6565                return;
    6666
    67         log_msg(LVL_DEBUG, "ARP PDU decoded, opcode=%d, tpa=%x",
     67        log_msg(LOG_DEFAULT, LVL_DEBUG, "ARP PDU decoded, opcode=%d, tpa=%x",
    6868            packet.opcode, packet.target_proto_addr.ipv4);
    6969
    7070        laddr = ethip_nic_addr_find(nic, &packet.target_proto_addr);
    7171        if (laddr != NULL) {
    72                 log_msg(LVL_DEBUG, "Request/reply to my address");
     72                log_msg(LOG_DEFAULT, LVL_DEBUG, "Request/reply to my address");
    7373
    7474                (void) atrans_add(&packet.sender_proto_addr,
     
    122122        size_t fsize;
    123123
    124         log_msg(LVL_DEBUG, "arp_send_packet()");
     124        log_msg(LOG_DEFAULT, LVL_DEBUG, "arp_send_packet()");
    125125
    126126        rc = arp_pdu_encode(packet, &pdata, &psize);
Note: See TracChangeset for help on using the changeset viewer.