We have a wrapper for log4j 2 APIs. So instead of directly calling the function we call custom class to do the logging. The problem with this aproach is the 'source' field stored in database has details of the custom log class and not the class which is calling it i.e all my fileName , linenumber have details of the custom class. Is there a way to update the 'source' field?
-- with regards Kusmanjali Jenamoni