  
      def build_console(self):
          """ Build and place the console """
          logger.debug("Build console")
          self.console.config(width=100, height=6, bg="gray90", fg="black")
          self.console.pack(side=tk.LEFT, anchor=tk.N, fill=tk.BOTH, expand=True)
  
          scrollbar = ttk.Scrollbar(self, command=self.console.yview)
          scrollbar.pack(side=tk.LEFT, fill="y")
          self.console.configure(yscrollcommand=scrollbar.set)
 
</s> remove         self.color = ("black" if out_type == "stdout" else "red")
 </s> add         self.recolor = re.compile(r".+?(\s\d+:\d+:\d+\s)(?P<lvl>[A-Z]+)\s") </s> remove         self.console.insert(tk.END, string, self.out_type)
        self.console.tag_config(self.out_type, foreground=self.color)
 </s> add         self.console.insert(tk.END, string, self.get_tag(string))
        self.console.config(width=100, height=6, bg="#1E1E1E", fg="white")
  
      def build_console(self):
          """ Build and place the console """
          logger.debug("Build console")
        self.console.config(width=100, height=6, bg="#1E1E1E", fg="white")
          self.console.pack(side=tk.LEFT, anchor=tk.N, fill=tk.BOTH, expand=True)
  
          scrollbar = ttk.Scrollbar(self, command=self.console.yview)
          scrollbar.pack(side=tk.LEFT, fill="y")
          self.console.configure(yscrollcommand=scrollbar.set)
keep keep keep keep replace keep keep keep keep keep
 Color code log messages in GUI Console 
lib/gui/utils.py