Karaf is started with the console (bin/karaf) but at startup some logs are displayed on the screen instead of being directed to the karaf.log file.
There is no tweak to the logging configuration file and the logger used is Log4J. Those logs come from a bundle which wraps a library coming from another team, so I'm not too sure what is happening. I guess Karaf logging is ready before the first user bundle is started, correct? Regards, JP [@@ OPEN @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : mardi 26 août 2014 08:55 À : [email protected] Objet : Re: Early logs Hi JP, don't you use bin/start to run Karaf ? If so, stdout is redirect to data/karaf.out. Is it what you talk about ? What's the logger you use in your bundle and did you tweak etc/org.ops4j.pax.logging.cfg ? Regards JB On 08/26/2014 08:51 AM, CLEMENT Jean-Philippe wrote: > Dear Karaf, > > I'm beginning to investigate on a logging issue. It seems early logs sent > (from our bundles) when Karaf starts are redirected to the stdout instead of > the log file. > > Is this behavior possible and, if so, how to fix it? > > JP > > [@@ OPEN @@] > -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
