[rbldnsd] Logging question

Niek niek at asbak.coding-slaves.com
Wed Apr 27 21:36:26 MSD 2005


On 4/27/2005 6:39 PM +0200, Niek wrote:
> Hi,
> 
> I'm using rbldns with daemontools & multilog.
> Since multilog already takes care of logging date and time,
> I was wondering what needs to be removed from the rbldnsd
> source in order not to log unix epoch on every line.

Found a C coder.

Commenting out the following in rbldnsd_packet.c did the trick:

cp += sprintf(cp, "%lu ", (unsigned long)time(NULL));

Niek Baakman


More information about the rbldnsd mailing list