{"id":11,"date":"2008-08-25T11:47:00","date_gmt":"2008-08-25T11:47:00","guid":{"rendered":"http:\/\/www.andypalmer.com\/blog\/?p=11"},"modified":"2009-05-22T13:09:10","modified_gmt":"2009-05-22T13:09:10","slug":"well-how-did-i-get-here","status":"publish","type":"post","link":"https:\/\/andypalmer.com\/2008\/08\/well-how-did-i-get-here\/","title":{"rendered":"Well, how did I get here?"},"content":{"rendered":"


And you may find yourself living in a shotgun shack
And you may find yourself in another part of the world
And you may find yourself behind the wheel of a large automobile
And you may find yourself in a beautiful house, with a beautiful wife
And you may ask yourself, “Well… how did I get here?”<\/p>\n

Once in a Lifetime – Talking Heads<\/i>
<\/quote><\/p>\n

Logging a Stack Trace in log4j<\/h3>\n

A while ago, I was trying to replace a number of hard coded strings with an appropriate Enum. Unfortunately, the design of the code I was working on meant that it was difficult to find all the possible values for the strings.
I decided that the behaviour that I wanted was:<\/p>\n