Add configuration to turn off warn/log messages

Signed-off-by: Ricardo Leitão <letzdevelopment@gmail.com>