Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

HowcanIcustomizethelog4jtocontrolthemaxnumberoflinesforeveryoutputNotthelinenumber

How can I customize the log4j to control the max number of lines for every output? Not the line number but the max number of lines.

E.g. The output would have 100 lines. But I would like to log the first 10 lines only. How I can do that under the Java web structure like Spring? Many thanks!

Comments