Hi Jochen, I follow the configuration indeed my application could log in console in all the packages. The problem is only with the file appender in the secondary packages.
Attached an image of the situation. Thanks and best regards, Gilberto Il giorno gio 24 ott 2019 alle ore 11:25 Jochen Schalanda < [email protected]> ha scritto: > Hi Gilberto, > > does it work when you try configuring your loggers as described in the > documentation? > https://www.dropwizard.io/en/latest/manual/core.html#logging > > Best regards, > Jochen > > Am 23.10.2019 um 19:48 schrieb Gilberto Minozzi < > [email protected]>: > > Hi everybody, > > I try to use the latest release rc-11 and I have a problem logging in file > (in console it works) in package different from the main one. > > Gilberto > > PS: logback.xml > <?xml version="1.0" encoding="UTF-8"?> > <configuration scan="true"> > > <property name="HOME_LOG" value="logs\app.log" /> > > <appender name="CONSOLE" > class="ch.qos.logback.core.ConsoleAppender"> > <layout class="ch.qos.logback.classic.PatternLayout"> > <Pattern> > %d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n > </Pattern> > </layout> > </appender> > > <appender name="FILE" class="ch.qos.logback.core.FileAppender"> > <file>${HOME_LOG}</file> > <append>true</append> > <immediateFlush>true</immediateFlush> > <encoder> > <pattern>%d %p %c{1.} [%t] %m%n</pattern> > </encoder> > </appender> > > <logger name="it.gibba.drop" level="debug"> > <appender-ref ref="FILE" /> > <appender-ref ref="CONSOLE" /> > </logger> > > <root level="error"> > <appender-ref ref="CONSOLE" /> > </root> > > </configuration> > > > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dropwizard-user/bfbf923c-a2b0-4251-9554-d39572b44c55%40googlegroups.com > <https://groups.google.com/d/msgid/dropwizard-user/bfbf923c-a2b0-4251-9554-d39572b44c55%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <project structure.PNG> > > > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dropwizard-user/0CF46D6E-F199-42CB-8FA2-049D3EEBF131%40schalanda.name > <https://groups.google.com/d/msgid/dropwizard-user/0CF46D6E-F199-42CB-8FA2-049D3EEBF131%40schalanda.name?utm_medium=email&utm_source=footer> > . > -- *Gilberto Minozzi * *Java Developer* Via A. Riberi, 4 - 10124 Torino - Italia tel. 011 9537700 | int. 740 TURIN · ROME · BARI· SOFIA · LISBON · PRISTINA *www.advicegroup.it <http://www.advicegroup.it>* [image: LinkedIn] <https://www.linkedin.com/organization/525698>[image: Twitter] <https://twitter.com/AdviceGroup_SpA>[image: YouTube] <https://www.youtube.com/channel/UCI4sdhQi-Ni7LPFhsp5xTGQ> *THINK PROGRESS, CHOOSE ADVICE* <https://t.xink.io/Tracking/Index/xdQBAOiSAADb4F8A0> *Before printing this page think about your responsibility with the Natural Environment.* This message is confidential; its contents do not constitute a commitment by Advice Group S.p.A., except where provided for in a written agreement. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately at [email protected]. -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-user/CAAeKsP0th6%2BfNOmRJ7csjKfad%3DqA4Tknuwt3F5JqGYfkydBT0Q%40mail.gmail.com.
