Hello everyone,

While exploring VisitHander.java, I observed that for logging the pattern
followed is:

Debug.logInfo(new Exception(), Error Message, module);

due to which we get a long stack trace like this:

[image: image.png]



Is there a specific reason for using such a pattern?

I think we should follow the standard pattern only as this may populate log
files with hefty logs. Though I can only find 3 such traces. I propose to
replace this with the standard pattern:

Debug.logInfo( Error Message, module);

WDYT?

--
Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>

Reply via email to