]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: da: silent logging by default and displaying DeviceAtlas support if built.
authorDavid Carlier <dcarlier@afilias.info>
Wed, 2 Dec 2015 11:22:53 +0000 (11:22 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Dec 2015 10:37:01 +0000 (11:37 +0100)
src/haproxy.c

index 6e75f72c559923ddc893cb539316bf10c12c0650..04bfabd033727cae3f816e98001ca571fd0b8e8a 100644 (file)
@@ -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