[Opendnssec-develop] Minimize number of log messages

Rickard Bellgrim rickard.bellgrim at iis.se
Mon Oct 4 08:58:48 UTC 2010


Hi

Currently you get two log messages per zone. One giving the stats when the signed zone has changed. Then a message telling when the SE will perform the next task.

Oct  4 08:40:35 fou ods-signerd: [STATS] nz RR[count=0 time=0(sec)) NSEC3[count=0 time=0(sec)] RRSIG[new=29 reused=0 time=2(sec) avg=14(sig/sec)] TOTAL[time=2(sec)]
Oct  4 08:40:35 fou ods-signerd: On Mon Oct  4 08:41:35 2010 I will sign zone nz
Oct  4 08:41:35 fou ods-signerd: On Mon Oct  4 08:42:35 2010 I will sign zone nz
Oct  4 08:42:35 fou ods-signerd: On Mon Oct  4 08:43:35 2010 I will sign zone nz
Oct  4 08:43:35 fou ods-signerd: On Mon Oct  4 08:44:35 2010 I will sign zone nz
Oct  4 08:44:35 fou ods-signerd: On Mon Oct  4 08:45:35 2010 I will sign zone nz

Would it be ok to downgrade the task message from an info message to a debug message? Thus not showing up during normal operation with low verbosity. If you are signing thousands of zones, then you will only get one message per zone and that one contains the stats.

You could find the time for the next task by using the following command: ods-signer queue

// Rickard




More information about the Opendnssec-develop mailing list