Skip to content

Commit 681d018

Browse files
committed
release 1.4.5.2: change Apache module init info log
Signed-off-by: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
1 parent 2c51582 commit 681d018

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
12/06/2022
2+
- change Apache module init info log
3+
- release 1.4.5.2
4+
15
11/30/2022
26
- initialize check_oauth2 properly; call OPENSSL_init_crypto for OpenSSL >= 1.1.0
37

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([liboauth2],[1.4.5.2dev],[hans.zandbelt@zmartzone.eu])
1+
AC_INIT([liboauth2],[1.4.5.2],[hans.zandbelt@zmartzone.eu])
22

33
AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
44
AC_CONFIG_MACRO_DIR([m4])

src/server/apache.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,9 @@ int oauth2_apache_post_config(apr_pool_t *pool, apr_pool_t *p1, apr_pool_t *p2,
237237

238238
cfg = (oauth2_apache_cfg_srv_t *)ap_get_module_config(s->module_config,
239239
m);
240-
oauth2_info(cfg->log, "%s-%s - init", package_name_version,
241-
oauth2_package_string());
240+
241+
ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "%s-%s - init",
242+
package_name_version, oauth2_package_string());
242243

243244
end:
244245

test/server_stubs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ const char *ap_run_http_scheme(const request_rec *r)
112112
{
113113
return "https";
114114
}
115+
116+
AP_DECLARE(void) ap_log_error_(const char *file, int line, int module_index,
117+
int level, apr_status_t status, const server_rec *s, const char *fmt,
118+
...) {
119+
}
115120
#endif
116121

117122
#ifdef HAVE_NGINX

0 commit comments

Comments
 (0)