You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2022/06/23 18:20:12 UTC
[tomcat-connectors] branch main updated: Drop broken log statement (not yet initialized), reformat comment
This is an automated email from the ASF dual-hosted git repository.
rjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new f309dbc95 Drop broken log statement (not yet initialized), reformat comment
f309dbc95 is described below
commit f309dbc95707c828d98f965f777c0cc498bbd02d
Author: Rainer Jung <ra...@kippdata.de>
AuthorDate: Thu Jun 23 20:20:02 2022 +0200
Drop broken log statement (not yet initialized), reformat comment
---
native/common/jk_util.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/native/common/jk_util.c b/native/common/jk_util.c
index 3777e2acc..6ecf11fbb 100644
--- a/native/common/jk_util.c
+++ b/native/common/jk_util.c
@@ -457,8 +457,8 @@ void jk_set_time_fmt(jk_logger_t *l, const char *jk_log_fmt)
l->log_fmt_subsec[JK_TIME_MAX_SIZE-1] = '\0';
l->log_fmt_size = strlen(l->log_fmt_subsec);
}
- /* Look for the first occurence of JK_TIME_CONV_MICRO */
}
+ /* Look for the first occurence of JK_TIME_CONV_MICRO */
else if ((s = strstr(jk_log_fmt, JK_TIME_CONV_MICRO))) {
size_t offset = s - jk_log_fmt;
size_t len = strlen(JK_TIME_PATTERN_MICRO);
@@ -483,8 +483,6 @@ void jk_set_time_fmt(jk_logger_t *l, const char *jk_log_fmt)
l->log_fmt_size = strlen(l->log_fmt_subsec);
}
}
- jk_log(l, JK_LOG_DEBUG, "Pre-processed log time stamp format is '%s'",
- l->log_fmt_type == JK_TIME_SUBSEC_NONE ? l->log_fmt : l->log_fmt_subsec);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org