summaryrefslogtreecommitdiffstats
path: root/juniper
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-28 15:32:36 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-12 02:55:40 +0100
commit5c01e9e85d64a0d19890e448168dc440628e3780 (patch)
treea1f151f96a64010719d8979332d68df74d7e4543 /juniper
parentf984729ecc3330af39a7f050ca5dfe24a0d401a0 (diff)
No need to include log.h when not logging
Diffstat (limited to 'juniper')
-rw-r--r--juniper/src/test/SrcTestSuite.cpp2
-rw-r--r--juniper/src/test/appender_test.cpp2
-rw-r--r--juniper/src/test/auxTestApp.cpp2
-rw-r--r--juniper/src/test/fakerewriter.cpp2
-rw-r--r--juniper/src/test/matchobjectTest.cpp2
-rw-r--r--juniper/src/test/matchobjectTestApp.cpp2
-rw-r--r--juniper/src/test/mcandTestApp.cpp2
-rw-r--r--juniper/src/test/queryparserTest.cpp2
-rw-r--r--juniper/src/test/queryparserTestApp.cpp2
-rw-r--r--juniper/src/test/queryvisitor_test.cpp2
-rw-r--r--juniper/src/test/testenv.cpp2
-rw-r--r--juniper/src/vespa/juniper/SummaryConfig.cpp2
-rw-r--r--juniper/src/vespa/juniper/config.cpp2
-rw-r--r--juniper/src/vespa/juniper/dpinterface.cpp2
-rw-r--r--juniper/src/vespa/juniper/expcache.cpp2
-rw-r--r--juniper/src/vespa/juniper/juniperparams.cpp2
-rw-r--r--juniper/src/vespa/juniper/keyocc.cpp2
-rw-r--r--juniper/src/vespa/juniper/matchelem.cpp2
-rw-r--r--juniper/src/vespa/juniper/specialtokenregistry.cpp2
-rw-r--r--juniper/src/vespa/juniper/stringmap.cpp2
20 files changed, 0 insertions, 40 deletions
diff --git a/juniper/src/test/SrcTestSuite.cpp b/juniper/src/test/SrcTestSuite.cpp
index 1134192d085..689ed5b57bf 100644
--- a/juniper/src/test/SrcTestSuite.cpp
+++ b/juniper/src/test/SrcTestSuite.cpp
@@ -16,9 +16,7 @@
* </pre>
****************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
-LOG_SETUP("SrcTestSuite");
#include <vespa/fastlib/testsuite/suite.h>
#include "testenv.h"
#include "mcandTest.h"
diff --git a/juniper/src/test/appender_test.cpp b/juniper/src/test/appender_test.cpp
index a8202bf7a91..7887247d9f2 100644
--- a/juniper/src/test/appender_test.cpp
+++ b/juniper/src/test/appender_test.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("appender_test");
#include <vespa/vespalib/testkit/testapp.h>
#define _NEED_SUMMARY_CONFIG_IMPL
diff --git a/juniper/src/test/auxTestApp.cpp b/juniper/src/test/auxTestApp.cpp
index 63e9a0e6c5b..906a1c133dc 100644
--- a/juniper/src/test/auxTestApp.cpp
+++ b/juniper/src/test/auxTestApp.cpp
@@ -1,8 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
-LOG_SETUP("auxTest");
#include "auxTest.h"
class AuxTestApp : public vespalib::TestApp
diff --git a/juniper/src/test/fakerewriter.cpp b/juniper/src/test/fakerewriter.cpp
index 16e3bd0ee7a..c02fc29b119 100644
--- a/juniper/src/test/fakerewriter.cpp
+++ b/juniper/src/test/fakerewriter.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("");
#include "fakerewriter.h"
#include <vespa/vespalib/util/stringfmt.h>
diff --git a/juniper/src/test/matchobjectTest.cpp b/juniper/src/test/matchobjectTest.cpp
index 43335ee1d72..81b3f0e1a79 100644
--- a/juniper/src/test/matchobjectTest.cpp
+++ b/juniper/src/test/matchobjectTest.cpp
@@ -17,8 +17,6 @@
* </pre>
***************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("");
#include "matchobjectTest.h"
#include "fakerewriter.h"
diff --git a/juniper/src/test/matchobjectTestApp.cpp b/juniper/src/test/matchobjectTestApp.cpp
index 620d461372d..b83691ef338 100644
--- a/juniper/src/test/matchobjectTestApp.cpp
+++ b/juniper/src/test/matchobjectTestApp.cpp
@@ -17,9 +17,7 @@
* </pre>
****************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
-LOG_SETUP("matchobjectTest");
#include "matchobjectTest.h"
#include "testenv.h"
diff --git a/juniper/src/test/mcandTestApp.cpp b/juniper/src/test/mcandTestApp.cpp
index 268224ed195..28692a01c73 100644
--- a/juniper/src/test/mcandTestApp.cpp
+++ b/juniper/src/test/mcandTestApp.cpp
@@ -17,9 +17,7 @@
* </pre>
****************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
-LOG_SETUP("mcandTest");
#include "mcandTest.h"
#include "testenv.h"
diff --git a/juniper/src/test/queryparserTest.cpp b/juniper/src/test/queryparserTest.cpp
index 525e1a37189..c78af7a98c2 100644
--- a/juniper/src/test/queryparserTest.cpp
+++ b/juniper/src/test/queryparserTest.cpp
@@ -17,8 +17,6 @@
* </pre>
***************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("");
#include "queryparserTest.h"
#include "fakerewriter.h"
diff --git a/juniper/src/test/queryparserTestApp.cpp b/juniper/src/test/queryparserTestApp.cpp
index 20537028fb9..2c999247478 100644
--- a/juniper/src/test/queryparserTestApp.cpp
+++ b/juniper/src/test/queryparserTestApp.cpp
@@ -17,9 +17,7 @@
* </pre>
****************************************************************************/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
-LOG_SETUP("queryparserTest");
#include "queryparserTest.h"
#include "testenv.h"
diff --git a/juniper/src/test/queryvisitor_test.cpp b/juniper/src/test/queryvisitor_test.cpp
index cc2d224e7d0..18dda67f43f 100644
--- a/juniper/src/test/queryvisitor_test.cpp
+++ b/juniper/src/test/queryvisitor_test.cpp
@@ -1,8 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <memory>
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("queryvisitor_test");
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/juniper/queryhandle.h>
diff --git a/juniper/src/test/testenv.cpp b/juniper/src/test/testenv.cpp
index 40f35072948..17187e33a28 100644
--- a/juniper/src/test/testenv.cpp
+++ b/juniper/src/test/testenv.cpp
@@ -4,8 +4,6 @@
*/
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("");
#include "testenv.h"
#include <vespa/juniper/propreader.h>
diff --git a/juniper/src/vespa/juniper/SummaryConfig.cpp b/juniper/src/vespa/juniper/SummaryConfig.cpp
index 8f9eeef8ed2..58774cc6c5b 100644
--- a/juniper/src/vespa/juniper/SummaryConfig.cpp
+++ b/juniper/src/vespa/juniper/SummaryConfig.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.summaryconfig");
#define _NEED_SUMMARY_CONFIG_IMPL 1
#include "SummaryConfig.h"
#include <string>
diff --git a/juniper/src/vespa/juniper/config.cpp b/juniper/src/vespa/juniper/config.cpp
index d9ff99a0207..301e7ff0c3b 100644
--- a/juniper/src/vespa/juniper/config.cpp
+++ b/juniper/src/vespa/juniper/config.cpp
@@ -2,8 +2,6 @@
/* $Id$ */
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.config");
#include "config.h"
#include "IJuniperProperties.h"
#include "rpinterface.h"
diff --git a/juniper/src/vespa/juniper/dpinterface.cpp b/juniper/src/vespa/juniper/dpinterface.cpp
index 5d72774fc8a..874290b840e 100644
--- a/juniper/src/vespa/juniper/dpinterface.cpp
+++ b/juniper/src/vespa/juniper/dpinterface.cpp
@@ -2,6 +2,4 @@
/* $Id$ */
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.dpinterface");
#include "dpinterface.h"
diff --git a/juniper/src/vespa/juniper/expcache.cpp b/juniper/src/vespa/juniper/expcache.cpp
index 181a80b07a2..3e61add149a 100644
--- a/juniper/src/vespa/juniper/expcache.cpp
+++ b/juniper/src/vespa/juniper/expcache.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.expcache");
#include "expcache.h"
#include "matchobject.h"
diff --git a/juniper/src/vespa/juniper/juniperparams.cpp b/juniper/src/vespa/juniper/juniperparams.cpp
index 0973c8a20b6..0824b300d5c 100644
--- a/juniper/src/vespa/juniper/juniperparams.cpp
+++ b/juniper/src/vespa/juniper/juniperparams.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.juniperparams");
#include "juniperdebug.h"
#include "juniperparams.h"
#include "Matcher.h"
diff --git a/juniper/src/vespa/juniper/keyocc.cpp b/juniper/src/vespa/juniper/keyocc.cpp
index f37816a231c..623a90311bc 100644
--- a/juniper/src/vespa/juniper/keyocc.cpp
+++ b/juniper/src/vespa/juniper/keyocc.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.keyocc");
#include "keyocc.h"
key_occ::key_occ(const char* term_, off_t spos, off_t stoken, int len) :
diff --git a/juniper/src/vespa/juniper/matchelem.cpp b/juniper/src/vespa/juniper/matchelem.cpp
index 2646cb94b0f..4abdb618507 100644
--- a/juniper/src/vespa/juniper/matchelem.cpp
+++ b/juniper/src/vespa/juniper/matchelem.cpp
@@ -2,8 +2,6 @@
/* $Id$ */
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.matchelem");
#include "matchelem.h"
MatchElement::MatchElement(off_t spos, off_t stoken) :
diff --git a/juniper/src/vespa/juniper/specialtokenregistry.cpp b/juniper/src/vespa/juniper/specialtokenregistry.cpp
index a042fae94be..0533c10efdf 100644
--- a/juniper/src/vespa/juniper/specialtokenregistry.cpp
+++ b/juniper/src/vespa/juniper/specialtokenregistry.cpp
@@ -1,8 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.specialtokenregistry");
#include "specialtokenregistry.h"
namespace {
diff --git a/juniper/src/vespa/juniper/stringmap.cpp b/juniper/src/vespa/juniper/stringmap.cpp
index 52a250f6b1a..5ee3f43abd1 100644
--- a/juniper/src/vespa/juniper/stringmap.cpp
+++ b/juniper/src/vespa/juniper/stringmap.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".juniper.stringmap");
#include "stringmap.h"
void Fast_StringMap::Insert(const char* key, const char* value)