diff options
author | Joe Orton <jorton@apache.org> | 2024-05-08 14:46:58 +0200 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2024-05-08 14:46:58 +0200 |
commit | ac774f7340bd1e2bb5ff092e27e75cd0051f7783 (patch) | |
tree | ef5771c7168ee7173ddfe58d5849d57fc89a1f0b /changes-entries | |
parent | * modules/proxy/mod_proxy_fcgi.c (dispatch): Only allocate a heap (diff) | |
download | apache2-ac774f7340bd1e2bb5ff092e27e75cd0051f7783.tar.xz apache2-ac774f7340bd1e2bb5ff092e27e75cd0051f7783.zip |
On Linux use the real thread id via gettid() in error logging,
where available, rather than the (meaningless) default
pthread_self()-as-integer interpretation:
* configure.in: Define DEFAULT_LOG_TID on Linux if gettid() is available.
* server/log.c: Define DEFAULT_LOG_TID as NULL by default.
(do_errorlog_default): Use DEFAULT_LOG_TID as the argument to log_tid().
Github: closes #443
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1917578 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries')
-rw-r--r-- | changes-entries/linux-log-tid.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changes-entries/linux-log-tid.txt b/changes-entries/linux-log-tid.txt new file mode 100644 index 0000000000..9f6ce95397 --- /dev/null +++ b/changes-entries/linux-log-tid.txt @@ -0,0 +1 @@ + *) core: On Linux, log the real thread ID in error logs. [Joe Orton] |