From: Eduardo Ramos Testillano Date: Wed, 8 Apr 2015 02:05:09 +0000 (+0200) Subject: Fix bug X-Git-Tag: REFACTORING_TESTING_LIBRARY~178 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=58f32a1cd9963d78641ca100ad311094bfc2db30;p=anna.git Fix bug --- diff --git a/example/diameter/pcapDecoder/main.cpp b/example/diameter/pcapDecoder/main.cpp index 6b2e945..d05a0e9 100644 --- a/example/diameter/pcapDecoder/main.cpp +++ b/example/diameter/pcapDecoder/main.cpp @@ -372,7 +372,7 @@ int main(int argc, char **argv) { bool no_validation = (optionals.find("--no-validation") != std::string::npos); bool ignore_flags = (optionals.find("--ignore-flags") != std::string::npos); - Logger::setLevel(Logger::Debug); + Logger::setLevel(Logger::Warning); Logger::initialize(execBN.c_str(), new TraceWriter(filetrace.c_str(), 2048000)); G_codecEngine = new anna::diameter::codec::Engine(); anna::diameter::stack::Engine &stackEngine = @@ -420,7 +420,7 @@ int main(int argc, char **argv) { } // Validation kindness - e_codecEngine->setValidationDepth(anna::diameter::codec::EngineImpl::ValidationDepth::Complete); // complete validation for better reports + G_codecEngine->setValidationDepth(anna::diameter::codec::EngineImpl::ValidationDepth::Complete); // complete validation for better reports if(no_validation) G_codecEngine->setValidationMode(anna::diameter::codec::EngineImpl::ValidationMode::Never); if(ignore_flags) G_codecEngine->ignoreFlagsOnValidation(true);