Thank you Simon,
I tried it, and it was fine!
De: equinox-dev-boun...@eclipse.org [mailto:equinox-dev-boun...@eclipse.org]
En nombre de Simon Kaegi
Enviado el: martes, 23 de junio de 2009 16:32
Para: Equinox development mailing list
Asunto: Re: [equinox-dev] Configuring a log file in
Hi,
I wonder if it is possible to save the logging information from Log Service
(OSGI) in a file which is configurable by the developer, instead of showing
the logging information in Console. I have been Reading Log Service Apis and
I did not find any way to change the output for the logging
Hi David,
For the OSGi Log Service there is no default behaviour for writing out log
messages; you need to register a LogListener to listen for and log
messages.
A very simple LogListener might just write messages directly to System.err
or System.out but you could also write to a File without