Open PawelPlesniak opened 6 days ago
Note - I wanted to plug this into update_log_level
but I think there may be a problem with the hierarchy of the loggers - I could not show a RichHanlder instance after running update_log_level
, creating a logger, and dumping its handlers even if using a name following the update_log_level
logger
as e.g. drunc.process_manager
Also what is the difference between self.log
and self._log
?
This now creates a log file for the ProcessManager
. There is some cleanup that needs to happen with logging, which will be addressed in a seperate PR, namely
drunc.<logger_name>
print_traceback
for the processes that are not viewed through a tty and replacing this with sys.exception
Defining a logger for the
pm
in the base class. Tested to be working withunified-shell
andprocess-manager-shell
.