openpnp/openpnp — pull request #42 by firepick1 (2013-05-30 17:01:48+00:00)
Title: Develop logging changes

Jason, this is my first big commit and I want to make sure I get it right. Please examine my changes carefully!

I've restructured log4j.properties to give users an easy way to look at three different categories of information:
1) JobProcessor "big picture messages" (the default)
2) Reference... object activity for understand the mapping of openpnp to particular machines
3) Driver level logging for communications issues
I've dropped the overall logging level from debug to info and brought out the JobProcessor as the default logging information shown when launching openpnp. Users can toggle each of the three categories as needed or bump the rootLevel back up to debug to show everything (which for me was TMI).

I also pruned the ConsoleAppender format so that it is concise and aligned for ease of reading (but I left the former format as a commented line).

Lastly, I changed the toString() method to use getId() throughout, which really helps when there are multiple heads, nozzles, nozzletips, etc. whizzing about in the log.

I'm still getting used to GitHub and sharing across machines/IDEs. At work we use Perforce. Please take a careful look at the files I changed. GitHub is mysteriously reporting blank line changes in Main.java , which is puzzling, since I copied your own develop Main.java. I hope I haven't messed with openpnp indentation or anything. I've got IntelliJ set to use tabs with an indent of 4.

Thanks,
Karl