3.02 snapshot

[@@ OPEN @@]


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]] 
Envoyé : mardi 26 août 2014 11:34
À : [email protected]
Objet : Re: Early logs

@JP, what's the Karaf version ? 3.0.1 ?

Thanks,
Regards
JB

On 08/26/2014 11:31 AM, Achim Nierbeck wrote:
> Now that is interesting ....
> I guess we need to verify this behaviour, but might be an issue after 
> restart onyl ... :)
>
> could you open a minor bug for this so we don't loose track of it.
>
> thanks, Achim
>
>
> 2014-08-26 11:21 GMT+02:00 CLEMENT Jean-Philippe 
> <[email protected]
> <mailto:[email protected]>>:
>
>     Bundle which is doing this is Level 80 :)____
>
>     __ __
>
>     JP____
>
>     __ __
>
>     [@@ OPEN @@]____
>
>     __ __
>
>     *De :*Achim Nierbeck [mailto:[email protected]
>     <mailto:[email protected]>]
>     *Envoyé :* mardi 26 août 2014 10:50
>
>
>     *À :* [email protected] <mailto:[email protected]>
>     *Objet :* Re: Early logs____
>
>     __ __
>
>     yeah, as long as the pax-logging bundle isn't started the default
>     will take place and this one does log to sysout. ____
>
>     BUT the Pax Logging bundle is startlevel 2 and it's the second
>     bundle to be installed so what are you guys doing with your bundles
>     beeing started before that?____
>
>     __ __
>
>     regards, Achim____
>
>     __ __
>
>     2014-08-26 10:43 GMT+02:00 Jean-Baptiste Onofré <[email protected]
>     <mailto:[email protected]>>:____
>
>     I remember that we have something about the log in the Karaf Main
>     (as the Pax Logging service is not yet there).
>
>     Let me take a look around that. I keep you posted.
>
>     Regards
>     JB____
>
>
>
>     On 08/26/2014 10:41 AM, CLEMENT Jean-Philippe wrote:____
>
>     Yes,
>
>     After one or a couple of seconds all logs are sent to the karaf.log
>     file as expected.
>
>     I'm wondering if sysouts may not come from logs sent when the bundle
>     is first started (during startup)...
>
>     JP
>
>     [@@ THALES GROUP INTERNAL @@]
>
>
>     -----Message d'origine-----
>     De : Jean-Baptiste Onofré [mailto:[email protected]
>     <mailto:[email protected]>]
>     Envoyé : mardi 26 août 2014 10:33
>     À : [email protected] <mailto:[email protected]>
>     Objet : Re: Early logs
>
>     It's weird, as I don't have it locally.
>
>     Are you sure to not have a SystemOut appender in
>     org.ops4j.pax.logging.cfg or another log config ?
>
>     Regards
>     JB
>
>     On 08/26/2014 10:12 AM, CLEMENT Jean-Philippe wrote:____
>
>     Traces on the screen (stdout) look like :
>
>     10:03:55 [FelixStartLevel] DEBUG – manage client XXX
>
>                    10:03:56 [Blueprint Extender: 3] DEBUG – 
> Initializing XXX
>
>                    10:03:56 [Blueprint Extender: 2] DEBUG – Allocating 
> XXX
>
>     JP
>
>     [@@ OPEN @@]
>
>     *De :*Achim Nierbeck [mailto:[email protected]
>     <mailto:[email protected]>] *Envoyé :* mardi
>     26 août 2014 10:02 *À :* [email protected]
>     <mailto:[email protected]> *Objet :* RE: Early
>     logs
>
>     If it's on the console it might well be a sysout? I'd try to check that.
>
>     Regards, achim
>
>     sent from mobile device
>
>     Am 26.08.2014 09:46 schrieb "CLEMENT Jean-Philippe"
>     <[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected]
>     <mailto:[email protected]>>>:
>
>     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]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>] Envoyé : mardi 26
>     août 2014 08:55 À :
>     [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[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] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     http://blog.nanthrax.net Talend - http://www.talend.com____
>
>     __ __
>
>
>     --
>     Jean-Baptiste Onofré
>     [email protected] <mailto:[email protected]>
>     http://blog.nanthrax.net
>     Talend - http://www.talend.com____
>
>
>
>     ____
>
>     __ __
>
>     -- ____
>
>
>     Apache Member____
>
>     Apache Karaf <http://karaf.apache.org/> Committer & PMC
>     OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>     Committer & Project Lead
>     blog <http://notizblog.nierbeck.de/>____
>
>     __ __
>
>     Software Architect / Project Manager / Scrum Master____
>
>     __ __
>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web 
> <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project 
> Lead blog <http://notizblog.nierbeck.de/>
>
> Software Architect / Project Manager / Scrum Master
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to