arteam / dropwizard-nologback

Demo of a Dropwizard app with log4j 2
MIT License
2 stars 0 forks source link

How to specify the log4j configuration file name and location? #2

Open debraj-manna opened 6 years ago

debraj-manna commented 6 years ago

Can someone let me know how can I specify a log4j configuration file name and location? I could not find this information in 1.2.4 documentation?

Is it possible to use log4j configuration file with name something other than log4j.xml ?

debraj-manna commented 6 years ago

@arteam - Any thoughts ?

reksomu371 commented 6 years ago

@arteam Is't possible to make it work with log4j 1x Add Demo of a Dropwizard app with log4j 1x?

debraj-manna commented 6 years ago

Yes it works with log4j 1.

On Tue 26 Jun, 2018, 4:52 AM Soma, notifications@github.com wrote:

@arteam https://github.com/arteam Is't possibel to make it work with log4j 1x Add Demo of a Dropwizard app with log4j 1x?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arteam/dropwizard-nologback/issues/2#issuecomment-400126274, or mute the thread https://github.com/notifications/unsubscribe-auth/AHw8JLfy3_BlOm5_GdsifrNZZqtdqtAiks5uAXDIgaJpZM4S_F1z .

reksomu371 commented 6 years ago

Thanks @debraj-manna for the update.

reksomu371 commented 6 years ago

@debraj-manna Can you provide the pom with log4j 1.x dependency without logback?