Hi all, Here it is a slight change, the DeviceAtlas module logging is silented by default. Also via the -vv flag, the DeviceAtlas support should be displayed.
Please cc [email protected] for all answers. Kindest regards
From 261ef622c99717c2ac57bf27c17a9d8cfeafac3d Mon Sep 17 00:00:00 2001 From: David Carlier <[email protected]> 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 6e75f72..04bfabd 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 -- 2.1.4

