Skip to content

Commit

Permalink
Changing default opfllex-agent log level to INFO for tsan, asan and u…
Browse files Browse the repository at this point in the history
…bsan runs

Signed-off-by: Gautam Venkataramanan <gautam.chennai@gmail.com>
  • Loading branch information
gautvenk committed May 21, 2020
1 parent cbeb16c commit 2565ad7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis/agent_test_log.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/agent-ovs/lib/logging.cpp b/agent-ovs/lib/logging.cpp
index d1574012..3f3107d3 100644
--- a/agent-ovs/lib/logging.cpp
+++ b/agent-ovs/lib/logging.cpp
@@ -31,7 +31,7 @@ namespace opflexagent {

AgentLogHandler logHandler(OFLogHandler::NO_LOGGING);

-LogLevel logLevel = DEBUG;
+LogLevel logLevel = INFO;

/**
* Log sink to write log messages to a standard output stream, such as
1 change: 1 addition & 0 deletions .travis/asan-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sudo make install &> /dev/null
popd
popd

git apply .travis/agent_test_log.patch
pushd agent-ovs
./autogen.sh &> /dev/null
./configure --enable-asan &> /dev/null
Expand Down
1 change: 1 addition & 0 deletions .travis/tsan-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sudo make install &> /dev/null
popd
popd

git apply .travis/agent_test_log.patch
pushd agent-ovs
./autogen.sh &> /dev/null
./configure --enable-tsan &> /dev/null
Expand Down
1 change: 1 addition & 0 deletions .travis/ubsan-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sudo make install &> /dev/null
popd
popd

git apply .travis/agent_test_log.patch
pushd agent-ovs
./autogen.sh &> /dev/null
./configure --enable-ubsan &> /dev/null
Expand Down

0 comments on commit 2565ad7

Please sign in to comment.