[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #14798] PPP log messages

From: Marco
Subject: [lwip-devel] [task #14798] PPP log messages
Date: Thu, 4 Jan 2018 10:27:28 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36


                 Summary: PPP log messages
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: marcoe
            Submitted on: Thu 04 Jan 2018 03:27:27 PM UTC
                Category: PPP
         Should Start On: Thu 04 Jan 2018 12:00:00 AM UTC
   Should be Finished on: Thu 04 Jan 2018 12:00:00 AM UTC
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                  Effort: 1.00



Hello all,
I've noticed that also with PPP_DEBUG = 0 some kiloBytes of flash memory are
occupied by ppp_vslprintf() code and by many PPP debug strings.

In fact, debugging messages are not consistent across PPP code because:
- in some points log messages are correctly produced using macros like
LCPDEBUG(a) defined in pppdebug.h
- in other points there are direct calls to ppp_warn(), ppp_notice(), ...
- in other points the calls to ppp_warn(), ppp_notice(), ... are inside a #if
PPP_DEBUG ... #endif block

I think it would be nice to have the possibility to completely remove these
log messages and related helper functions in a production environment as well
as we can do it for all the other debug messages inside lwIP.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]