log4j specifies the log output of the package or class to the specified file

https://blog.csdn.net/xingxingmingyue/article/details/90515777

In this case, it is only assigned to the package.
However, if we change the package path to the file class path, the log output to the class can be assigned. The
granularity is a little more fine.

Guess you like

Origin blog.csdn.net/Brave_heart4pzj/article/details/111661485