Bug #15 » 0001-Change-error-log-messags-to-debug-ones-in-the-log-mo.patch
| src/alert-debuglog.c | ||
|---|---|---|
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_DEBUG_LOG_GENERIC_ERROR, "Error getting context for "
|
||
|
"DebugLog. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for DebugLog. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||
| ... | ... | |
|
if(file_ctx == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_DEBUG_LOG_GENERIC_ERROR, "AlertDebuglogInitCtx: Couldn't "
|
||
|
"create new file_ctx");
|
||
|
SCLogDebug("AlertDebuglogInitCtx: Couldn't create new file_ctx");
|
||
|
return NULL;
|
||
|
}
|
||
| src/alert-fastlog.c | ||
|---|---|---|
|
memset(aft, 0, sizeof(AlertFastlogThread));
|
||
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_FAST_LOG_GENERIC_ERROR, "Error getting context for "
|
||
|
"AlertFastLog. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for AlertFastLog. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||
| ... | ... | |
|
if(file_ctx == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_FAST_LOG_GENERIC_ERROR, "AlertFastlogInitCtx: Couldn't "
|
||
|
"create new file_ctx");
|
||
|
SCLogDebug("AlertFastlogInitCtx: Couldn't create new file_ctx");
|
||
|
return NULL;
|
||
|
}
|
||
| src/alert-unified-alert.c | ||
|---|---|---|
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_UNIFIED_ALERT_GENERIC_ERROR, "Error getting context for "
|
||
|
"UnifiedAlert. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for UnifiedAlert. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||
| src/alert-unified-log.c | ||
|---|---|---|
|
memset(aun, 0, sizeof(AlertUnifiedLogThread));
|
||
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_UNIFIED_LOG_GENERIC_ERROR, "Error getting context for "
|
||
|
"UnifiedLog. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for UnifiedLog. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||
| src/alert-unified2-alert.c | ||
|---|---|---|
|
memset(aun, 0, sizeof(Unified2AlertThread));
|
||
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_UNIFIED2_ALERT_GENERIC_ERROR, "Error getting context for "
|
||
|
"Unified2Alert. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for Unified2Alert. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||
| src/log-httplog.c | ||
|---|---|---|
|
if(initdata == NULL)
|
||
|
{
|
||
|
SCLogError(SC_ERR_HTTP_LOG_GENERIC_ERROR, "Error getting context for "
|
||
|
"HTTPLog. \"initdata\" argument NULL");
|
||
|
SCLogDebug("Error getting context for HTTPLog. \"initdata\" argument NULL");
|
||
|
return TM_ECODE_FAILED;
|
||
|
}
|
||
|
/** Use the Ouptut Context (file pointer and mutex) */
|
||