suricata
log-httplog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void LogHttpLogRegister (void)
 
OutputInitResult LogHttpLogInitCtx (ConfNode *)
 Create a new http log LogFileCtx. More...
 

Detailed Description

Function Documentation

◆ LogHttpLogInitCtx()

OutputInitResult LogHttpLogInitCtx ( ConfNode conf)

Create a new http log LogFileCtx.

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

Definition at line 549 of file log-httplog.c.

References LogHttpFileCtx_::cf, ConfNodeLookupChildValue(), ConfValIsTrue(), OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, LogHttpFileCtx_::file_ctx, LogHttpFileCtx_::flags, LOG_HTTP_CUSTOM, LOG_HTTP_DEFAULT, LOG_HTTP_EXTENDED, LogCustomFormatAlloc(), LogCustomFormatParse(), LogFileFreeCtx(), LogFileNewCtx(), SCCalloc, SCConfLogOpenGeneric(), SCLogError, and unlikely.

Referenced by LogHttpLogRegister().

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

◆ LogHttpLogRegister()

void LogHttpLogRegister ( void  )

Definition at line 65 of file log-httplog.c.

References ALPROTO_HTTP1, LOGGER_HTTP, LogHttpLogger(), LogHttpLogInitCtx(), LogHttpLogThreadDeinit(), LogHttpLogThreadInit(), MODULE_NAME, and OutputRegisterTxModule().

Referenced by OutputRegisterLoggers().

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