log-tcp-data.h File Reference
#include "conf.h"
#include "output.h"
Include dependency graph for log-tcp-data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void LogTcpDataLogRegister (void)
OutputInitResult LogTcpDataLogInitCtx (ConfNode *)
 Create a new http log LogFileCtx. More...

Detailed Description

Function Documentation

◆ LogTcpDataLogInitCtx()

OutputInitResult LogTcpDataLogInitCtx ( ConfNode conf)

Create a new http log LogFileCtx.

confPointer to ConfNode containing this loggers configuration.
NULL if failure, LogFileCtx* to the file_ctx if succesful

Definition at line 211 of file log-tcp-data.c.

References ConfigGetLogDirectory(), ConfNodeLookupChildValue(), OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, LogTcpDataFileCtx_::dir, LogTcpDataFileCtx_::file, LogTcpDataFileCtx_::file_ctx, LogTcpDataFileCtx_::log_dir, LogFileFreeCtx(), LogFileNewCtx(), ConfNode_::name, SCCalloc, SCConfLogOpenGeneric(), SCFree, SCLogError, SCLogInfo, SCMkDir, STREAMING_HTTP_BODIES, STREAMING_TCP_DATA, strlcpy(), LogTcpDataFileCtx_::type, and unlikely.

Referenced by LogTcpDataLogRegister().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogTcpDataLogRegister()

void LogTcpDataLogRegister ( void  )