Opened 3 weeks ago

Closed 3 weeks ago

#909 closed defect (fixed)

NIC drivers do not log messages into their log files

Reported by: Jiri Svoboda Owned by: Jiri Svoboda
Priority: major Milestone: 0.16.1
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

Messages logged by drivers do not appear in their respective log files.

Change History (3)

comment:1 by Jiri Svoboda, 3 weeks ago

Root cause:

With the advent of packet capture, nic_create_and_bind() calls pcapdump_init(), which calls pcapdump_drv_driver_init(), which calls log_init("PCAP"). This overrides the device framework's call to log_init(). As a result, driver messages are logged, together with pcap's messages into /log/pcap.txt.

comment:2 by Jiri Svoboda, 3 weeks ago

Owner: set to Jiri Svoboda
Status: newaccepted

comment:3 by Jiri Svoboda, 3 weeks ago

Resolution: fixed
Status: acceptedclosed

Fixed in changeset 0a03b27918c8b53c86be53e738b4bd4292dbdaf1 the logging wasn't all that necessary so I just removed it.

Note: See TracTickets for help on using tickets.