|
From: Alex G. <sl...@gm...> - 2023-01-13 11:16:40
|
Thank you, Maxime, you are correct - I have solved the issue unexpectedly easily on this 3d attempt. What had thrown me off was that we have another log file, written by log4j directly, where this duplication didn't occur. But it was indeed an issue with a root level logger having duplicate handlers. Thanks again, Alex On Fri, 13 Jan 2023 at 09:20, Maxime Andrighetto via Wrapper-user < wra...@li...> wrote: > Hello Alex, > > Thank you for your email. > > The Wrapper is just logging all JVM console output as is. > If you have duplicated output, it's probably because of a misconfiguration > of log4j, for example if you have multiple targets defined. > Please check your log4j configuration file. > > Best Regards, > > Maxime > > On Fri, Jan 13, 2023 at 2:23 PM Alex Gană <sl...@gm...> wrote: > >> Hi, >> >> I have a problem where the wrapper log files have duplicate log4j lines. >> The JVM output is not duplicated. >> >> *Log4j log: * >> >> *INFO: Jan 13, 2023 5:15:35 AM com.package.Class run* >> *Did something, took: 00 minutes 11 seconds* >> >> *Wrapper log: * >> >> >> *INFO | jvm 1 | 2023/01/13 05:15:49 | INFO: Jan 13, 2023 5:15:35 AM >> com.package.Class runINFO | jvm 1 | 2023/01/13 05:15:49 | Did >> something, took: 00 minutes 11 seconds* >> *INFO | jvm 1 | 2023/01/13 05:15:49 | INFO: Jan 13, 2023 5:15:35 AM >> com.package.Class run* >> *INFO | jvm 1 | 2023/01/13 05:15:49 | Did something, took: 00 >> minutes 11 seconds* >> >> Any ideas what's wrong? >> >> Thank you. >> Alex >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > -- > Maxime Andrighetto > Tanuki Software Ltd. > 6-18-10-4F Nishi-Kasai, Edogawa-ku > Tokyo 134-0088 Japan > Tel: +81-3-3878-3211 > Fax: +81-3-3878-0313 > http://www.tanukisoftware.com > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |