You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setting loglevel via compile-option is inconvenient as it forces the decision on the person building the firmware whether everyone using the resulting images will be a developer. At the same time it is hampering analysis in images that were not built with verbose debug log in case a ddhcpd issue arises.
Being able to adjust the loglevel would help.
The text was updated successfully, but these errors were encountered:
christf
changed the title
Allow setting loglevel from via socket or command line switch
Allow setting loglevel via socket or command line switch
Sep 8, 2019
the reason to set this during build is that if you don't need the Log level it should not be built in because it would result in a much larger executable
On Sun, Sep 08, 2019 at 11:39:30AM -0700, Ruben Barkow wrote:
the reason to set this during build is that if you don't need the Log level it should not be built in because it would result in a much larger executable
That is ok. It is still inconvenient if there is no way to silence the
daemon. At least for now (the ddhcpd package for openwrt sets the
loglevel to 20) we are not using the space-saving feature.
How much does it save anyway?
It safes around 20k with the right settings. Updated the README to the changes in the logging implementation. The openwrt package sets it that way, because we are using it in a testbed in that way and we are kind of lazy ;)
setting loglevel via compile-option is inconvenient as it forces the decision on the person building the firmware whether everyone using the resulting images will be a developer. At the same time it is hampering analysis in images that were not built with verbose debug log in case a ddhcpd issue arises.
Being able to adjust the loglevel would help.
The text was updated successfully, but these errors were encountered: