pass debug flag to generic logger

Signed-off-by: Johannes Petzold <jpetzold@pivotallabs.com>