summaryrefslogtreecommitdiff
path: root/modules/loggers
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2004-05-06 10:18:07 +0000
committerJoe Orton <jorton@apache.org>2004-05-06 10:18:07 +0000
commit96c0ef3f90256401aeff0ca9480270d18f0df5b9 (patch)
treecd6b3d691825c74fa222397f9b7b20b61ce7349e /modules/loggers
parent0df6a7dbfe5e13992a5686033b21fe27c09dd67e (diff)
downloadhttpd-96c0ef3f90256401aeff0ca9480270d18f0df5b9.tar.gz
* modules/loggers/mod_log_config.c, server/log.c (open_error_log,
ap_replace_stderr_log): Use APR_LARGEFILE when opening log files, to allow log files to exceed the 2Gb limit if necessary. PR: 13511 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/loggers')
-rw-r--r--modules/loggers/mod_log_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c
index 5c02503585..5e0894ef51 100644
--- a/modules/loggers/mod_log_config.c
+++ b/modules/loggers/mod_log_config.c
@@ -171,7 +171,7 @@
module AP_MODULE_DECLARE_DATA log_config_module;
-static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE);
+static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE | APR_LARGEFILE);
static apr_fileperms_t xfer_perms = APR_OS_DEFAULT;
static apr_hash_t *log_hash;
static apr_status_t ap_default_log_writer(request_rec *r,