]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #4618: appid: adding logs while creating third party context to monitor...
authorAndres Avila Segura (aavilase) <aavilase@cisco.com>
Thu, 6 Mar 2025 13:44:04 +0000 (13:44 +0000)
committerChris Sherwin (chsherwi) <chsherwi@cisco.com>
Thu, 6 Mar 2025 13:44:04 +0000 (13:44 +0000)
Merge in SNORT/snort3 from ~AAVILASE/snort3:third_party_reload_logging to master

Squashed commit of the following:

commit fd570b5fc85d6b700a4f30ab5ae406e661b84328
Author: Andres Avila <aavilase@cisco.com>
Date:   Thu Feb 13 08:40:19 2025 -0500

    appid: Adding log while creating third party context to monitor hanging

src/network_inspectors/appid/tp_lib_handler.cc

index e4b5ab12fbe5a70f20fd547477c334d2fb45772c..e6b16000ffed09657bb24c222e5f60d90a9dabc5 100644 (file)
@@ -105,6 +105,7 @@ ThirdPartyAppIdContext* TPLibHandler::create_tp_appid_ctxt(const AppIdConfig& co
     tp_config.tp_allow_probes = odp_ctxt.tp_allow_probes;
     tp_config.tp_appid_profiler_functions = get_tp_appid_profiler_functions();
 
+    APPID_LOG(nullptr, TRACE_INFO_LEVEL, "Creating third party context!\n");
     ThirdPartyAppIdContext* tp_appid_ctxt = self->tp_appid_create_ctxt(tp_config);
     if (tp_appid_ctxt == nullptr)
     {