loxilb-io / loxilb

eBPF based cloud-native load-balancer for Kubernetes|Edge|Telco|IoT|XaaS.
https://www.loxilb.io
Apache License 2.0
1.48k stars 122 forks source link

Improve logging and replace protocol value with unix.RTPROT_STATIC #846

Closed yugyeong2 closed 1 month ago

yugyeong2 commented 1 month ago
  1. Logging Improvements

    • Updated various log messages for better clarity and consistency by replacing fmt.Printf and fmt.Println with tk.LogIt.
    • Improved the formatting of error messages to match the project’s logging standards.
    • Fixed minor typos in log messages.
  2. Protocol Value Update

    • Replaced the hardcoded value 4 for static protocol with the more descriptive constant unix.RTPROT_STATIC in the route protocol assignment.