i want to get my app name as an attribute in my error log. how to do that using a single function? my code is given below
db_logger.exception(e, extra= {“user”: self.user.username, “class_name”: self.class.name, “application_name”:__________})
I am able to retrieve other attributes.
I want to fetch my appname to the “application_name” attribute in the above code. Please have a look.