Kabir
Thanks..The issue finally got resolved after your answer.. though I tried the same expression earlier but was getting some error.
Once I saw your answer, I looked back at the error and saw I was getting stackoverflow exception. The reason behind is
that since it was a small POC, I kept the logger aspect right under package com.mycompany and hence the log method was getting called recursively.
I was so stupid to do that.
Initially I did not look at the error as I did not have enough confidence on the correctness of that expr.
Sorry for bothering you and placing the discussion in wrong forum. :(