Apache HTTPD
Public Attributes | List of all members
ap_errorlog_info Struct Reference

#include <http_core.h>

Public Attributes

const server_recs
 
const conn_recc
 
const request_recr
 
const request_recrmain
 
apr_pool_tpool
 
const charfile
 
int line
 
int module_index
 
int level
 
apr_status_t status
 
int using_syslog
 
int startup
 
const charformat
 

Detailed Description

The info structure passed to callback functions of errorlog handlers. Not all information is available in all contexts. In particular, all pointers may be NULL.

Definition at line 890 of file http_core.h.

Member Data Documentation

◆ c

const conn_rec* ap_errorlog_info::c

current conn_rec. Should be preferred over r->connection

Definition at line 899 of file http_core.h.

◆ file

const char* ap_errorlog_info::file

name of source file where the log message was produced, NULL if N/A.

Definition at line 910 of file http_core.h.

◆ format

const char* ap_errorlog_info::format

message format

Definition at line 928 of file http_core.h.

◆ level

int ap_errorlog_info::level

log level of error message (flags like APLOG_STARTUP have been removed), -1 if N/A

Definition at line 917 of file http_core.h.

◆ line

int ap_errorlog_info::line

line number in the source file, 0 if N/A

Definition at line 912 of file http_core.h.

◆ module_index

int ap_errorlog_info::module_index

module index of module that produced the log message, APLOG_NO_MODULE if N/A.

Definition at line 915 of file http_core.h.

◆ pool

apr_pool_t* ap_errorlog_info::pool

pool passed to ap_log_perror, NULL otherwise

Definition at line 907 of file http_core.h.

◆ r

const request_rec* ap_errorlog_info::r

current request_rec.

Definition at line 902 of file http_core.h.

◆ rmain

const request_rec* ap_errorlog_info::rmain

r->main if r is a subrequest, otherwise equal to r

Definition at line 904 of file http_core.h.

◆ s

const server_rec* ap_errorlog_info::s

current server_rec. Should be preferred over c->base_server and r->server

Definition at line 894 of file http_core.h.

◆ startup

int ap_errorlog_info::startup

1 if APLOG_STARTUP was set for the log message, 0 otherwise

Definition at line 925 of file http_core.h.

◆ status

apr_status_t ap_errorlog_info::status

apr error status related to the log message, 0 if no error

Definition at line 920 of file http_core.h.

◆ using_syslog

int ap_errorlog_info::using_syslog

1 if logging to syslog, 0 otherwise

Definition at line 923 of file http_core.h.


The documentation for this struct was generated from the following file: