On Mon, Oct 17, 2011 at 12:30 PM, Денис <[email protected]> wrote: > Thanks for the quick response, Justin! > Yes, have read info through the link. > I have noticed that bundle exports log4j logging API, so decided that this > issue has been over-viewed before..
This is because the Log4J API is one of the APIs which is supported by Sling Logging. Sling Logging, however, does not use Log4J internally whereas Pax Logging does. Justin > > Have also seen Pax usage on some forums so think can be a variant > > Regards, > Denis > > 17 октября 2011, 20:20 от Justin Edelson <[email protected]>: >> Configuring Sling Logging is documented here: >> http://sling.apache.org/site/logging.html >> >> You can't use a log4j.properties file to configure Sling Logging. >> >> You may be able to accomplish what you want with Pax Logging in which >> case you could simply remove the Sling Logging bundle. >> >> Regards, >> Justin >> >> On Mon, Oct 17, 2011 at 12:12 PM, Денис <[email protected]> wrote: >> > Hello team, >> > >> > Please can you share info about how can I switch Sling to use Log4j >> > instead of slf4j? >> > So I can at least define Log4j properties file and control main logging >> > through it. >> > >> > Thanks in advance, >> > Denis >> > >>
