ThreadContext + Filters is your friend :) Best, Chandra
On 5 Feb 2018, 3:40 PM +0530, Kavitha Balan Nair <kavitha.balan.n...@oracle.com>, wrote: > Hi, > > > > Is there any way to make the loggings on demand? what happens is once the > service is started it logs with the change in time stamp even though there > are no any details to be logged. > > Log4j2.10 is been used in the project > > > > Thanks, > > Kavitha