I expect that somewhere in that very long document it mentions how to format timestamps in log4j. But the short answer is that you follow the same rules that Java does in the SimpleDateFormat class. (Follow the link to the API documentation.)
posted 5 years ago
I have went through simpledateformat. that is how i come up with the existing date pattern. I have change dthe pattern as belwo
and this is giving me dat as below
2014-07-17 05:46:05 GMT+00:00
How ever as the offset is +00:00 i dont want it to be printed and the output should be as below
2014-07-17 05:46:05 GMT
I tried various patterns. None of them are working.