On Mar 7, 2016, at 6:15 AM, Anirudh Malhotra <8zero2ops at gmail.com> wrote: > and it works, but I wanted to know is it the correct way to do it. As I > want to achieve it in best possible way. if not Is there any other way to > do comprehensive logging? Your solution is fine. Any other way would only be minor variations of this. Alan DeKok.