I want to know log4j to millisecond.

I want to know access.log to millisecond.
What settings should I add?