opengoofy / hippo4j

📌 异步线程池框架,支持线程池动态变更&监控&报警,无需修改代码轻松引入。Asynchronous thread pool framework, support Thread Pool Dynamic Change & monitoring & Alarm, no need to modify the code easily introduced.
https://hippo4j.cn
Apache License 2.0
5.47k stars 1.16k forks source link

[Enhancement] Custom log printing Topic #1230

Open magestacks opened 1 year ago

magestacks commented 1 year ago

Demand advice

Please answer these questions before submitting them. Thank you.

Is your function request related to the problem?

No.

Describe the function you want

The log is printed as follows.

WARN 26935 --- [           main] c.h.m.s.Hippo4jBaseSendMessageService    : [Tomcat] Please configure alarm notification on the server.

Hope to modify c.h.m.s.Hippo4jBaseSendMessageService to a more specific prompt, such as: Hippo4j-Send-Message.

WARN 26935 --- [           main] Hippo4j-Send-Message    : [Tomcat] Please configure alarm notification on the server.

TODO list:

pc-mysql commented 1 year ago

@magestacks I have a question on the issue, Should I change the just Hippo4jBaseSendMessageService log format one or others.

magestacks commented 1 year ago

@pc-mysql Topic naming modification limited to @Slf4j.

pc-mysql commented 1 year ago

@magestacks 原谅我还是有点不理解这个需求,是需要我列出所有在Hippo4j运行时会打印日志的所有类和topic吗,这大概会有50个以上的类?

magestacks commented 1 year ago

@pc-mysql Yes, there may be more classes. You can first discuss how to name the log topic

In terms of printing changelogs, is it going to be called hippo4j-threadpool-dynamic or Hippo4j ThreadPool Dynamic.

DDreame commented 1 year ago

please assign to me

pirme commented 1 year ago

@DDreame Welcome

magestacks commented 11 months ago

@DDreame Is there any progress?