Skip to content

Debugging RedDeer

jpeterka edited this page Apr 19, 2013 · 28 revisions

From time to time you can observed unexpected behavior that is not caused by your code but by a bug in RedDeer itself. This chapter covers some basic approaches of howto find a problem and gather enough information for issue reporting or fixing a problem

Find error in common log

There is a standard RedDeer log produced on in your primary output (either terminal or Eclipse console view).

INFO [thread][class] Log message-1
INFO [thread][class] Log message-n
...
ERROR [thread][class] Something bad and unexpected happened
INFO [thread][class] Log message-n+1

Enable and see debug log

When you want more detail information about what is happening you should enable DEBUG messages. You can do it by setting appropriate vm variable log.debug to true either in eclipse

-Dlog.debug=true

enable-debug.png Then you'll also see messages marked by DEBUG

DEBUG [thread][class] Debug message
...
Clone this wiki locally