23.12.2014 Views

NASA uses Eclipse RCP applications for experiments on the ...

NASA uses Eclipse RCP applications for experiments on the ...

NASA uses Eclipse RCP applications for experiments on the ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Including log4j log messages in <strong>the</strong> UI <br />

The ISS standards require an error acknowledgement bar in a c<strong>on</strong>sistent place in<br />

<strong>the</strong> upper left. When important errors or alerts come in, <strong>the</strong>re is an “Ack” butt<strong>on</strong><br />

to <strong>the</strong> right that includes <strong>the</strong> number of unacknowledged messages. <br />

Users can <strong>the</strong>n pop up <strong>the</strong> “log” view which shows <strong>the</strong> time, ack state and<br />

descripti<strong>on</strong> of messages that came in. <br />

We use Apache’s log4j<br />

framework to log messages,<br />

and OSGi’s LogListener to<br />

read <strong>the</strong> messages in and<br />

display <strong>the</strong>m in ourLogView.<br />

<str<strong>on</strong>g>Eclipse</str<strong>on</strong>g> <str<strong>on</strong>g>RCP</str<strong>on</strong>g> <str<strong>on</strong>g>for</str<strong>on</strong>g> ISS Experiments <br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!