http_log.h revision 3d96ee83babeec32482c9082c9426340cee8c44d
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen/* ====================================================================
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * The Apache Software License, Version 1.1
c6f7c917a1b494d4455800823472227463f87438Tom Gundersen * Copyright (c) 2000 The Apache Software Foundation. All rights
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * Redistribution and use in source and binary forms, with or without
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * modification, are permitted provided that the following conditions
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * 1. Redistributions of source code must retain the above copyright
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * notice, this list of conditions and the following disclaimer.
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * 2. Redistributions in binary form must reproduce the above copyright
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * notice, this list of conditions and the following disclaimer in
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * the documentation and/or other materials provided with the
af6f0d422c521374ee6a2dd92df5935a5a476ae5Tom Gundersen * distribution.
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * 3. The end-user documentation included with the redistribution,
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen * if any, must include the following acknowledgment:
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen * "This product includes software developed by the
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen * Apache Software Foundation (http://www.apache.org/)."
5256e00e8b9015dd1a976d647fc71dc7efbd8cf8Tom Gundersen * Alternately, this acknowledgment may appear in the software itself,
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * if and wherever such third-party acknowledgments normally appear.
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * 4. The names "Apache" and "Apache Software Foundation" must
edbb03e95a3c31bf719d5c6c46eec14d0bcb9c8fTom Gundersen * not be used to endorse or promote products derived from this
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * software without prior written permission. For written
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * permission, please contact apache@apache.org.
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * 5. Products derived from this software may not be called "Apache",
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * nor may "Apache" appear in their name, without prior written
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * permission of the Apache Software Foundation.
5556b5fe41173107a67dbe875fbd916a46e52a02Lennart Poettering * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2cc412b59353576cece2d5b30c6a39c70552f0a0Tom Gundersen * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
#ifndef APACHE_HTTP_LOG_H
#define APACHE_HTTP_LOG_H
#ifdef __cplusplus
#include "apr_thread_proc.h"
#ifdef HAVE_SYSLOG
#include <syslog.h>
#ifndef LOG_PRIMASK
#ifndef DEFAULT_LOGLEVEL
* @deffunc void ap_log_error(const char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...)
const char *fmt, ...)
* @deffunc void ap_log_error(const char *file, int line, int level, apr_status_t status, apr_pool_t *p, const char *fmt, ...)
const char *fmt, ...)
* @deffunc void ap_log_error(const char *file, int line, int level, apr_status_t status, request_rec *s, const char *fmt, ...)
const char *fmt, ...)
struct piped_log {
apr_pool_t *p;
#ifdef HAVE_RELIABLE_PIPED_LOGS
char *program;
#ifdef __cplusplus