Add configuration to turn off warn/log messages

Fix #721

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