Hi Kerry,

you can access the LogService LRU (as the log:display command does).

Anyway, I would recommend to use bundle service to check the state instead of log.

Regards
JB

On 03/07/2017 09:13 PM, JT wrote:
Hi,

I'm just starting to use Pax exam with Karaf and I am writing a very
simple test. All I want it to do is to examine the log files of Karaf to
see if a specific bundle has successfully deployed. The bundle contains
a native library and I load this using a Blueprint bean. If the library
loads then a 'load successful' entry is written to the logs.

Is there any easy way of examining the logs in the test?

Thanks, Kerry


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to