#55 add generic logging infrastructure
Opened 4 years ago by kparal. Modified 4 years ago

Currently you can use logging only from subclasses of JobTrigger, where self.log is probably inherited from fedmsg or something like that. But in utility classes (not subclassing JobTrigger, e.g. in jobtriggers/utils.py) there's no way to log messages. Please adjust the code in some reasonable way to allow all modules to use logging, not just selected ones. That probably means either making a fedmsg logger available for every module, or creating a custom logger that logs into the same location as the fedmsg one.

Login to comment on this ticket.