Skip to content

Commit 8e1f984

Browse files
committed
refactor(proxy): 优化日志信息内容
- 将 cert file changed 日志信息改为更通用的 File changed - 保持代码风格一致性,提高日志的可读性和维护性 Signed-off-by: Async <raisinata@foxmail.com>
1 parent cece8c3 commit 8e1f984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxy/src/main/java/org/apache/rocketmq/proxy/service/cert/TlsCertificateManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private class CertKeyFileWatchListener implements FileWatchService.Listener {
8080

8181
@Override
8282
public void onChanged(String path) {
83-
log.info("cert file changed: {}", path);
83+
log.info("File changed: {}", path);
8484
if (path.equals(TlsSystemConfig.tlsServerCertPath)) {
8585
certChanged = true;
8686
} else if (path.equals(TlsSystemConfig.tlsServerKeyPath)) {

0 commit comments

Comments
 (0)