Skip to content

frr log doesn't show line number of source file #18754

@weisuofayubc

Description

@weisuofayubc
2025/05/04 17:10:59 ZEBRA: [KKAC1-JMWTB] Rx RTM_NEWNEIGH family ipv4 IF virbr0(7) vrf default(0) IP 23.98.189.39 MAC  state 0x20 flags 0x0 ext_flags 0x0
2025/05/04 17:10:59 ZEBRA: [NR6MZ-KY8YF] zebra neigh del if virbr0/7 23.98.189.39
2025/05/04 17:10:59 ZEBRA: [KMXEB-K771Y] netlink_parse_info: netlink-listen (NS 0) type RTM_NEWNEIGH(28), len=64, seq=0, pid=0
2025/05/04 17:10:59 ZEBRA: [KKAC1-JMWTB] Rx RTM_NEWNEIGH family ipv4 IF docker0(6) vrf default(0) IP 23.98.189.39 MAC  state 0x20 flags 0x0 ext_flags 0x0
2025/05/04 17:10:59 ZEBRA: [NR6MZ-KY8YF] zebra neigh del if docker0/6 23.98.189.39
2025/05/04 17:10:59 ZEBRA: [KMXEB-K771Y] netlink_parse_info: netlink-listen (NS 0) type RTM_NEWNEIGH(28), len=64, seq=0, pid=0
2025/05/04 17:10:59 ZEBRA: [KKAC1-JMWTB] Rx RTM_NEWNEIGH family ipv4 IF virbr0(7) vrf default(0) IP 124.71.85.133 MAC  state 0x20 flags 0x0 ext_flags 0x0
2025/05/04 17:10:59 ZEBRA: [NR6MZ-KY8YF] zebra neigh del if virbr0/7 124.71.85.133
2025/05/04 17:10:59 ZEBRA: [KMXEB-K771Y] netlink_parse_info: netlink-listen (NS 0) type RTM_NEWNEIGH(28), len=64, seq=0, pid=0
2025/05/04 17:10:59 ZEBRA: [KKAC1-JMWTB] Rx RTM_NEWNEIGH family ipv4 IF docker0(6) vrf default(0) IP 124.71.85.133 MAC  state 0x20 flags 0x0 ext_flags 0x0
2025/05/04 17:10:59 ZEBRA: [NR6MZ-KY8YF] zebra neigh del if docker0/6 124.71.85.133
2025/05/04 17:11:00 ZEBRA: [KMXEB-K771Y] netlink_parse_info: netlink-listen (NS 0) type RTM_NEWNEIGH(28), len=64, seq=0, pid=0
2025/05/04 17:11:00 ZEBRA: [TDS34-MNEJW]     Neighbor Entry received is not on a VLAN or a BRIDGE, ignoring
2025/05/04 17:11:00 ZEBRA: [KKAC1-JMWTB] Rx RTM_NEWNEIGH family ipv4 IF ztc3qw4fhf(8) vrf default(0) IP 192.168.195.22 MAC  state 0x20 flags 0x0 ext_flags 0x0
2025/05/04 17:11:00 ZEBRA: [NR6MZ-KY8YF] zebra neigh del if ztc3qw4fhf/8 192.168.195.22

It shows random string "NR6MZ-KY8YF" instead of source file line number, this is hard to debug.
Can it show source file and line number?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions