3

I have a conversion pattern in my log4j configuration. I know how to print it in %d{ISO8601}... but if I want it in seconds since epoch (1/1/1970), what's the format?

Kalisky
  • 1,141
  • 1
  • 9
  • 18

1 Answers1

1

According to the accepted answer to the question, log4j: current time in milliseconds, log4j does not natively provide the capability to do this.

Community
  • 1
  • 1
Scrubbie
  • 1,360
  • 1
  • 11
  • 25