hippo4j icon indicating copy to clipboard operation
hippo4j copied to clipboard

[Enhancement] Custom log printing Topic

Open magestacks opened this issue 1 year ago • 7 comments

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:

  • [ ] Sort out the classes that trigger log printing when Hippo4j runs.
  • [ ] What is the name of the topic printed in the idea log.

magestacks avatar May 08 '23 07:05 magestacks

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

pc-mysql avatar May 13 '23 13:05 pc-mysql

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

magestacks avatar May 13 '23 14:05 magestacks

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

pc-mysql avatar May 13 '23 15:05 pc-mysql

@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.

magestacks avatar May 13 '23 16:05 magestacks

please assign to me

DDreame avatar May 26 '23 07:05 DDreame

@DDreame Welcome

pirme avatar May 26 '23 07:05 pirme

@DDreame Is there any progress?

magestacks avatar Sep 26 '23 02:09 magestacks