The problem is that I know nothing about log4j architecture. I am just a user.
Is it so difficult task? If log4j has access to class it can access and its module and after that use sift appender by module name. Application module has name, automatic module has name, all unnamed module goes to one file. Another question - has anyone tried log4j as named module on java 9? Best regards, Alex >Понедельник, 18 сентября 2017, 16:44 +03:00 от Ralph Goers ><ralph.go...@dslextreme.com>: > >Right now LoggerContexts are organized around ClassLoaders. We haven’t even >talked about creating a ModuleContextSelector. If you want to help contribute >towards that it would be welcome. > >Ralph > >> On Sep 18, 2017, at 1:18 AM, Alex Sviridov < ooo_satu...@mail.ru.INVALID > >> wrote: >> >> Hi all >> >> Could anyone say if log4j 1/2 can create separate log file for every JPMS >> module? >> >> For example I have application that consists of three named modules moduleA, >> moduleB, >> moduleC. And I want to have three log files moduleA.log, moduleB.log, >> moduleC.log. >> >> If such feature is not supported, can anyone say when approximately it will >> be >> implemented. >> >> Best regards, Alex > > -- Alex Sviridov