[busybox][RFC] syslogging errors

Bernhard Fischer rep.nop at aon.at
Fri Jun 16 20:59:39 UTC 2006


Hi,

[thinking about post 1.2.x cosmetic stuff a little bit..]

we have several places where we need (currently do and want to) log
errors via syslog ({loginutils,init}/* comes to mind, network may do too
as well as others).

Therefore i'm asking for a genericized facility to accomplish this task,
resp. satisfy this need.

As a widely used facility, error_msg/perror_msg et al come to mind.
Should we
a) provide a globally exported int bb_log_level; to be used sd the
   `syslog´ priority via bb_verror_msg()
b) a separate bb_sverror_msg() or
c) do something else?



More information about the busybox mailing list