Hi Josh,
I extended the PatternLayout class and implemented the header. It works.
One change, we have to append line.separator character at the end of the
string returned by overidden getHeader() method. if we dont append it, the first line logged comes along with the header line.
Thankyou very much.