Hi,

I'm trying to setup my application so that:
1. everything up to WARN is logged to the console
2. everything is logged to a file
3. for specific loggers (org.ow2.petals.cockpit.CockpitApplication below), 
I would like to also log up to INFO to the console
4. only log up to INFO

I did this:
logging:
  level: INFO
  loggers:
    org.ow2.petals.cockpit.CockpitApplication:
      appenders:
        - type: console
          threshold: INFO
  appenders:
    - type: file
      currentLogFilename: ./logs/cockpit.log
      archivedLogFilenamePattern: ./logs/cockpit-%d.log.gz
      archivedFileCount: 5
    - type: console
      threshold: WARN

But I don't get the INFO logs from 
org.ow2.petals.cockpit.CockpitApplication in the console, only in the file.

I don't get how to solve this, anybody has an idea? :)

Thanks!

Victor

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to