I’m sending logging events using JMSAppender. In Receiver I need to print them/put into a file – with date in format:
yyyy-MM-dd HH:mm:ss,SSS
but I can only do event.getTimeStamp() which returns long.
(I find it strange, because in regular logging, using %d we cannot log current time in milliseconds)
Is there any way to get date in ISO format from logging event?
Can you try this