From df3785fe2a236d8170e8aca28fb808acf995c21c Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 2 Dec 2015 11:22:53 +0000 Subject: [PATCH] MINOR: da: silent logging by default and displaying DeviceAtlas support if built. --- src/haproxy.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/haproxy.c b/src/haproxy.c index 6e75f72c5..04bfabd03 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -180,7 +180,7 @@ struct global global = { #endif #ifdef USE_DEVICEATLAS .deviceatlas = { - .loglevel = DA_SEV_INFO, + .loglevel = 0, .jsonpath = 0, .cookiename = 0, .cookienamelen = 0, @@ -400,6 +400,9 @@ void display_build_opts() printf("Built with network namespace support\n"); #endif +#ifdef USE_DEVICEATLAS + printf("Built with DeviceAtlas support\n"); +#endif #ifdef USE_51DEGREES printf("Built with 51Degrees support\n"); #endif