Opened 2 hours ago

Last modified 2 hours ago

#909 new defect

NIC drivers do not log messages into their log files

Reported by: Jiri Svoboda Owned by:
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 (1)

comment:1 by Jiri Svoboda, 2 hours 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.

Note: See TracTickets for help on using tickets.