config options log patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)