249d09d51808cb7981af99762c3b3736ca126cd5jkaluza/* Licensed to the Apache Software Foundation (ASF) under one or more
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * contributor license agreements. See the NOTICE file distributed with
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * this work for additional information regarding copyright ownership.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * The ASF licenses this file to You under the Apache License, Version 2.0
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * (the "License"); you may not use this file except in compliance with
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * the License. You may obtain a copy of the License at
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * Unless required by applicable law or agreed to in writing, software
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * distributed under the License is distributed on an "AS IS" BASIS,
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * See the License for the specific language governing permissions and
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza * limitations under the License.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzatypedef struct {
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzastatic void *syslog_error_log_init(apr_pool_t *p, server_rec *s)
c62cc8593d17deefcd6879923ccfcd80f07eaa40trawick void *success = (void *)p; /* anything non-NULL is success */
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza openlog(ap_server_argv0, LOG_NDELAY|LOG_CONS|LOG_PID, LOG_LOCAL7);
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza openlog(ap_server_argv0, LOG_NDELAY|LOG_CONS|LOG_PID,
249d09d51808cb7981af99762c3b3736ca126cd5jkaluzastatic apr_status_t syslog_error_log(const ap_errorlog_info *info,
ac7ac5b79da100d59b176914c0d9448fadc03568trawick syslog(level < LOG_PRIMASK ? level : APLOG_DEBUG, "%.*s", (int)len, errstr);
993d1261a278d7322bccef219101220b7b4fb8c5jkaluzastatic const char *syslog_error_log_parse(cmd_parms *cmd, const char *arg)
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza static const ap_errorlog_provider syslog_provider = {