亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? http_log.h

?? Apache_2.0.59-Openssl_0.9 配置tomcat. Apache_2.0.59-Openssl_0.9 配置tomcat.
?? H
字號:
/* Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef APACHE_HTTP_LOG_H
#define APACHE_HTTP_LOG_H

#ifdef __cplusplus
extern "C" {
#endif

#include "apr_thread_proc.h"

/**
 * @package Apache logging library
 */

#ifdef HAVE_SYSLOG
#include <syslog.h>

#ifndef LOG_PRIMASK
#define LOG_PRIMASK 7
#endif

#define APLOG_EMERG     LOG_EMERG     /* system is unusable */
#define APLOG_ALERT     LOG_ALERT     /* action must be taken immediately */
#define APLOG_CRIT      LOG_CRIT      /* critical conditions */
#define APLOG_ERR       LOG_ERR       /* error conditions */
#define APLOG_WARNING   LOG_WARNING   /* warning conditions */
#define APLOG_NOTICE    LOG_NOTICE    /* normal but significant condition */
#define APLOG_INFO      LOG_INFO      /* informational */
#define APLOG_DEBUG     LOG_DEBUG     /* debug-level messages */

#define APLOG_LEVELMASK LOG_PRIMASK   /* mask off the level value */

#else

#define	APLOG_EMERG	0	/* system is unusable */
#define	APLOG_ALERT	1	/* action must be taken immediately */
#define	APLOG_CRIT	2	/* critical conditions */
#define	APLOG_ERR	3	/* error conditions */
#define	APLOG_WARNING	4	/* warning conditions */
#define	APLOG_NOTICE	5	/* normal but significant condition */
#define	APLOG_INFO	6	/* informational */
#define	APLOG_DEBUG	7	/* debug-level messages */

#define	APLOG_LEVELMASK	7	/* mask off the level value */

#endif

/* APLOG_NOERRNO is ignored and should not be used.  It will be
 * removed in a future release of Apache.
 */
#define APLOG_NOERRNO		(APLOG_LEVELMASK + 1)

/* Use APLOG_TOCLIENT on ap_log_rerror() to give content
 * handlers the option of including the error text in the 
 * ErrorDocument sent back to the client. Setting APLOG_TOCLIENT
 * will cause the error text to be saved in the request_rec->notes 
 * table, keyed to the string "error-notes", if and only if:
 * - the severity level of the message is APLOG_WARNING or greater
 * - there are no other "error-notes" set in request_rec->notes
 * Once error-notes is set, it is up to the content handler to
 * determine whether this text should be sent back to the client.
 * Note: Client generated text streams sent back to the client MUST 
 * be escaped to prevent CSS attacks.
 */
#define APLOG_TOCLIENT          ((APLOG_LEVELMASK + 1) * 2)

/* normal but significant condition on startup, usually printed to stderr */
#define APLOG_STARTUP           ((APLOG_LEVELMASK + 1) * 4) 

#ifndef DEFAULT_LOGLEVEL
#define DEFAULT_LOGLEVEL	APLOG_WARNING
#endif

extern int AP_DECLARE_DATA ap_default_loglevel;

#define APLOG_MARK	__FILE__,__LINE__

/**
 * Set up for logging to stderr.
 * @param p The pool to allocate out of
 */
AP_DECLARE(void) ap_open_stderr_log(apr_pool_t *p);

/**
 * Replace logging to stderr with logging to the given file.
 * @param p The pool to allocate out of
 * @param file Name of the file to log stderr output
 */
AP_DECLARE(apr_status_t) ap_replace_stderr_log(apr_pool_t *p, 
                                               const char *file);

/**
 * Open the error log and replace stderr with it.
 * @param pconf Not used
 * @param plog  The pool to allocate the logs from
 * @param ptemp Pool used for temporary allocations
 * @param s_main The main server
 * @tip ap_open_logs isn't expected to be used by modules, it is
 * an internal core function 
 */
int ap_open_logs(apr_pool_t *pconf, apr_pool_t *plog, 
                 apr_pool_t *ptemp, server_rec *s_main);

#ifdef CORE_PRIVATE

/**
 * Perform special processing for piped loggers in MPM child
 * processes.
 * @param p Not used
 * @param s Not used
 * @tip ap_logs_child_init is not for use by modules; it is an
 * internal core function
 */
void ap_logs_child_init(apr_pool_t *p, server_rec *s);

#endif /* CORE_PRIVATE */

/* 
 * The primary logging functions, ap_log_error, ap_log_rerror, ap_log_cerror,
 * and ap_log_perror use a printf style format string to build the log message.  
 * It is VERY IMPORTANT that you not include any raw data from the network, 
 * such as the request-URI or request header fields, within the format 
 * string.  Doing so makes the server vulnerable to a denial-of-service 
 * attack and other messy behavior.  Instead, use a simple format string 
 * like "%s", followed by the string containing the untrusted data.
 */

/**
 * ap_log_error() - log messages which are not related to a particular
 * request or connection.  This uses a printf-like format to log messages
 * to the error_log.
 * @param file The file in which this function is called
 * @param line The line number on which this function is called
 * @param level The level of this error message
 * @param status The status code from the previous command
 * @param s The server on which we are logging
 * @param fmt The format string
 * @param ... The arguments to use to fill out fmt.
 * @tip Use APLOG_MARK to fill out file and line
 * @tip If a request_rec is available, use that with ap_log_rerror()
 * in preference to calling this function.  Otherwise, if a conn_rec is
 * available, use that with ap_log_cerror() in preference to calling
 * this function.
 * @warning It is VERY IMPORTANT that you not include any raw data from 
 * the network, such as the request-URI or request header fields, within 
 * the format string.  Doing so makes the server vulnerable to a 
 * denial-of-service attack and other messy behavior.  Instead, use a 
 * simple format string like "%s", followed by the string containing the 
 * untrusted data.
 * @deffunc void ap_log_error(const char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) 
 */
AP_DECLARE(void) ap_log_error(const char *file, int line, int level, 
                             apr_status_t status, const server_rec *s, 
                             const char *fmt, ...)
			    __attribute__((format(printf,6,7)));

/**
 * ap_log_perror() - log messages which are not related to a particular
 * request, connection, or virtual server.  This uses a printf-like
 * format to log messages to the error_log.
 * @param file The file in which this function is called
 * @param line The line number on which this function is called
 * @param level The level of this error message
 * @param status The status code from the previous command
 * @param p The pool which we are logging for
 * @param fmt The format string
 * @param ... The arguments to use to fill out fmt.
 * @tip Use APLOG_MARK to fill out file and line
 * @warning It is VERY IMPORTANT that you not include any raw data from 
 * the network, such as the request-URI or request header fields, within 
 * the format string.  Doing so makes the server vulnerable to a 
 * denial-of-service attack and other messy behavior.  Instead, use a 
 * simple format string like "%s", followed by the string containing the 
 * untrusted data.
 * @deffunc void ap_log_perror(const char *file, int line, int level, apr_status_t status, apr_pool_t *p, const char *fmt, ...) 
 */
AP_DECLARE(void) ap_log_perror(const char *file, int line, int level, 
                             apr_status_t status, apr_pool_t *p, 
                             const char *fmt, ...)
			    __attribute__((format(printf,6,7)));

/**
 * ap_log_rerror() - log messages which are related to a particular
 * request.  This uses a a printf-like format to log messages to the
 * error_log.
 * @param file The file in which this function is called
 * @param line The line number on which this function is called
 * @param level The level of this error message
 * @param status The status code from the previous command
 * @param r The request which we are logging for
 * @param fmt The format string
 * @param ... The arguments to use to fill out fmt.
 * @tip Use APLOG_MARK to fill out file and line
 * @warning It is VERY IMPORTANT that you not include any raw data from 
 * the network, such as the request-URI or request header fields, within 
 * the format string.  Doing so makes the server vulnerable to a 
 * denial-of-service attack and other messy behavior.  Instead, use a 
 * simple format string like "%s", followed by the string containing the 
 * untrusted data.
 * @deffunc void ap_log_rerror(const char *file, int line, int level, apr_status_t status, const request_rec *r, const char *fmt, ...)
 */
AP_DECLARE(void) ap_log_rerror(const char *file, int line, int level, 
                               apr_status_t status, const request_rec *r, 
                               const char *fmt, ...)
			    __attribute__((format(printf,6,7)));

/**
 * ap_log_cerror() - log messages which are related to a particular
 * connection.  This uses a a printf-like format to log messages to the
 * error_log.
 * @param file The file in which this function is called
 * @param line The line number on which this function is called
 * @param level The level of this error message
 * @param status The status code from the previous command
 * @param c The connection which we are logging for
 * @param fmt The format string
 * @param ... The arguments to use to fill out fmt.
 * @tip Use APLOG_MARK to fill out file and line
 * @tip If a request_rec is available, use that with ap_log_rerror()
 * in preference to calling this function.
 * @warning It is VERY IMPORTANT that you not include any raw data from 
 * the network, such as the request-URI or request header fields, within 
 * the format string.  Doing so makes the server vulnerable to a 
 * denial-of-service attack and other messy behavior.  Instead, use a 
 * simple format string like "%s", followed by the string containing the 
 * untrusted data.
 * @note ap_log_cerror() is available starting with Apache 2.0.55.
 * @deffunc void ap_log_cerror(const char *file, int line, int level, apr_status_t status, const conn_rec *c, const char *fmt, ...)
 */
AP_DECLARE(void) ap_log_cerror(const char *file, int line, int level, 
                               apr_status_t status, const conn_rec *c, 
                               const char *fmt, ...)
			    __attribute__((format(printf,6,7)));

/**
 * Convert stderr to the error log
 * @param s The current server
 * @deffunc void ap_error_log2stderr(server_rec *s)
 */
AP_DECLARE(void) ap_error_log2stderr(server_rec *s);

/**
 * Log the current pid of the parent process
 * @param p The pool to use for logging
 * @param fname The name of the file to log to
 */
AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *fname);

/**
 * Retrieve the pid from a pidfile.
 * @param p The pool to use for logging
 * @param filename The name of the file containing the pid
 * @param mypid Pointer to pid_t (valid only if return APR_SUCCESS)
 */
AP_DECLARE(apr_status_t) ap_read_pid(apr_pool_t *p, const char *filename, pid_t *mypid);

typedef struct piped_log piped_log;

/**
 * The piped logging structure.  Piped logs are used to move functionality
 * out of the main server.  For example, log rotation is done with piped logs.
 */
struct piped_log {
    /** The pool to use for the piped log */
    apr_pool_t *p;
    /** The pipe between the server and the logging process */
    apr_file_t *fds[2];
    /* XXX - an #ifdef that needs to be eliminated from public view. Shouldn't
     * be hard */
#ifdef AP_HAVE_RELIABLE_PIPED_LOGS
    /** The name of the program the logging process is running */
    char *program;
    /** The pid of the logging process */
    apr_proc_t *pid;
#endif
};

/**
 * Open the piped log process
 * @param p The pool to allocate out of
 * @param program The program to run in the logging process
 * @return The piped log structure
 * @deffunc piped_log *ap_open_piped_log(apr_pool_t *p, const char *program)
 */
AP_DECLARE(piped_log *) ap_open_piped_log(apr_pool_t *p, const char *program);

/**
 * Close the piped log and kill the logging process
 * @param pl The piped log structure
 * @deffunc void ap_close_piped_log(piped_log *pl)
 */
AP_DECLARE(void) ap_close_piped_log(piped_log *pl);

/**
 * A macro to access the read side of the piped log pipe
 * @param pl The piped log structure
 * @return The native file descriptor
 * @deffunc ap_piped_log_read_fd(pl)
 */
#define ap_piped_log_read_fd(pl)	((pl)->fds[0])

/**
 * A macro to access the write side of the piped log pipe
 * @param pl The piped log structure
 * @return The native file descriptor
 * @deffunc ap_piped_log_read_fd(pl)
 */
#define ap_piped_log_write_fd(pl)	((pl)->fds[1])

AP_DECLARE_HOOK(void, error_log, (const char *file, int line, int level,
                       apr_status_t status, const server_rec *s,
                       const request_rec *r, apr_pool_t *pool,
                       const char *errstr))

#ifdef __cplusplus
}
#endif

#endif	/* !APACHE_HTTP_LOG_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产不卡视频在线观看| 国产精品久久777777| 东方aⅴ免费观看久久av| 中文字幕亚洲区| 久久精品欧美一区二区三区不卡| 色婷婷久久久久swag精品| 久久99精品久久只有精品| 国产精品久久久久久久久免费桃花 | 国产精品色呦呦| 国产夜色精品一区二区av| 国产日韩精品一区二区浪潮av| 精品成人a区在线观看| 日韩午夜av一区| 国产精品第五页| 日韩精品一二区| 成人免费毛片高清视频| 97久久久精品综合88久久| 欧美美女喷水视频| 欧美视频精品在线| 6080国产精品一区二区| 国产亚洲1区2区3区| 亚洲精品第1页| 成人午夜av在线| 日韩视频一区二区在线观看| 久久久久88色偷偷免费| 亚洲成国产人片在线观看| 久久 天天综合| 欧美在线观看视频在线| 久久老女人爱爱| 日本欧美在线观看| 91九色最新地址| 国产情人综合久久777777| 日本伊人色综合网| 欧美美女一区二区| 亚洲图片欧美综合| 成人激情黄色小说| 2023国产精品视频| 日韩影视精彩在线| 欧美一区二区三区视频在线观看| 日韩美女视频一区二区| 国产美女在线观看一区| 日韩欧美成人午夜| 蜜臀久久久久久久| 欧美日韩高清在线播放| 亚洲精品成人悠悠色影视| 成人久久18免费网站麻豆| 亚洲国产精品精华液ab| 国产精品一区二区不卡| 精品久久久久一区二区国产| 久久99精品久久久久婷婷| 欧美成人女星排行榜| 国产一区二区三区电影在线观看 | 国产欧美精品一区二区色综合| 国产成人午夜视频| 中文字幕av一区 二区| 99精品欧美一区| 一区二区欧美国产| 欧美日本在线观看| 精东粉嫩av免费一区二区三区| 欧美成人国产一区二区| 国产精品一二三四区| 亚洲欧美一区二区在线观看| 在线观看日产精品| 麻豆91在线播放| 亚洲欧洲精品一区二区三区 | 国产**成人网毛片九色| 亚洲国产欧美日韩另类综合 | 2020国产精品自拍| 97久久久精品综合88久久| 国产91色综合久久免费分享| 激情小说欧美图片| 精彩视频一区二区三区| 国产aⅴ综合色| 亚洲一二三专区| 精品久久久影院| 欧美日韩国产一级片| 国产成人av一区| 亚洲另类在线制服丝袜| 91精品国产91久久综合桃花| 成人性生交大片免费看视频在线 | 成人高清视频免费观看| 国产一区二区三区免费观看| 欧美美女一区二区三区| 久久国产精品第一页| 亚洲欧美日韩系列| 国产精品全国免费观看高清 | 国产91精品精华液一区二区三区| 国产精品初高中害羞小美女文| 精品久久久久久无| 国产精品乱人伦中文| 国产精品第13页| 日本一区二区三区dvd视频在线| 国产欧美精品在线观看| 国产女主播一区| 久久天天做天天爱综合色| 国产成人三级在线观看| 欧美在线观看禁18| 欧美亚洲自拍偷拍| 欧美日韩中字一区| 99久久er热在这里只有精品66| 奇米精品一区二区三区在线观看一 | 激情综合色丁香一区二区| 老司机一区二区| 91香蕉视频污在线| 欧美日韩视频不卡| 精品日本一线二线三线不卡| 国产欧美一区在线| 天天综合网天天综合色| 国产成人av一区| 欧美亚洲国产一区在线观看网站| 日韩欧美不卡一区| 一区二区三区高清在线| 狠狠色伊人亚洲综合成人| 欧美视频在线一区二区三区 | 一区二区三国产精华液| 日本久久电影网| 粉嫩高潮美女一区二区三区| 6080亚洲精品一区二区| 美女视频一区在线观看| 午夜婷婷国产麻豆精品| 午夜欧美在线一二页| 日本va欧美va瓶| 五月婷婷激情综合| 国产在线精品一区二区| 精品国产一区二区亚洲人成毛片| 男人的天堂亚洲一区| www久久精品| 丁香桃色午夜亚洲一区二区三区| 久久九九久精品国产免费直播| 国产激情91久久精品导航| 国产精品蜜臀在线观看| 色欧美乱欧美15图片| 亚洲欧美另类小说视频| av日韩在线网站| 欧美专区日韩专区| 国产精品每日更新在线播放网址| 亚洲欧洲性图库| 午夜欧美在线一二页| 国产精品18久久久久久久久 | 欧美日韩久久久一区| 91浏览器入口在线观看| 亚洲午夜在线电影| 夫妻av一区二区| 欧美不卡视频一区| 精品在线视频一区| 欧美剧在线免费观看网站| 亚洲国产精品二十页| 日韩精品中文字幕一区| 国产在线一区二区| 丁香激情综合国产| 成人手机在线视频| 精品国产一区二区三区久久影院 | 成人影视亚洲图片在线| 久久影院午夜论| 懂色av中文字幕一区二区三区 | 免费观看成人av| 成人美女视频在线看| 日韩欧美色综合网站| 狠狠色丁香婷婷综合| 在线免费一区三区| 国产日韩综合av| 激情深爱一区二区| 欧美日韩中文字幕精品| 1024国产精品| 国产成人在线网站| 日韩一区二区三区精品视频| 一区二区三区四区乱视频| 91在线视频播放地址| 国产校园另类小说区| 久久成人羞羞网站| 亚洲精品一区二区三区四区高清 | 午夜精品福利一区二区蜜股av| 国产 欧美在线| 精品国产1区二区| 精品亚洲成a人在线观看| 精品乱人伦一区二区三区| 免费看日韩精品| 26uuu亚洲| 国产一区二区三区四区五区美女| 欧美一区二区播放| 精品一区二区三区视频| 精品处破学生在线二十三| 国产一区二区在线看| 国产欧美日韩精品在线| 99精品久久久久久| 亚洲精品视频免费观看| 综合久久综合久久| 久久久99精品久久| 亚洲最大色网站| 欧美性色欧美a在线播放| 成人免费av资源| 久久精品二区亚洲w码| 一区二区日韩av| 亚洲嫩草精品久久| 国产精品欧美一级免费| 日韩欧美一区在线| 欧美一级艳片视频免费观看| 色噜噜夜夜夜综合网| 国产高清在线精品| 成人午夜免费视频|