Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Can we see Console output in raspberry pi
Can we see Console output in raspberry pi [message #1600546] Wed, 04 February 2015 10:05 Go to next message
Vignesh Seraraj is currently offline Vignesh SerarajFriend
Messages: 16
Registered: December 2014
Junior Member
I am working on kura and Raspberry pi , in that can we see the console output
the bundle whether it is running without the error or is there any possibilities to view the console in any other log file
Re: Can we see Console output in raspberry pi [message #1602228 is a reply to message #1600546] Thu, 05 February 2015 11:57 Go to previous message
Alessandro Da Rugna is currently offline Alessandro Da RugnaFriend
Messages: 43
Registered: December 2014
Member
You can connect to the OSGi console with telnet localhost 5002.
Probably you won't see any error, many exceptions and or problems are not printed there.
A good idea is to wrap all your code and catch anything
try {
    // code that does not do what you expect
} catch (Throwable t) {
    s_logger.error("Unexpected error", t);
}

and keep a shell open with tail -f /var/log/kura.log

Does you bundle work correctly in the emulator? You can debug the bundle inside Eclipse too.


My project: Kura web log level changer https://github.com/darugnaa/kura-web-log
My blog: http://darugnaa.github.io

[Updated on: Thu, 05 February 2015 11:57]

Report message to a moderator

Previous Topic:File Creation in Rasberry pi by kura is not working
Next Topic:PositionService and USB GPS
Goto Forum:
  


Current Time: Thu Apr 25 15:58:47 GMT 2024

Powered by FUDForum. Page generated in 0.02739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top