Skip to content

Commit

Permalink
Robot default logview level set to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
izsoandras committed Feb 3, 2022
1 parent 9f6d4ee commit ad8259d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions my_gui/logging/ScreenLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class ScreenLogger(tkinter.Frame):
def __init__(self, parent, app_level=logging.INFO, robot_level=logging.INFO, fmt=None, visible_line_num=10, max_line_num=100, update_ms=200, *args, **kwargs):
def __init__(self, parent, app_level=logging.INFO, robot_level=logging.DEBUG, fmt=None, visible_line_num=10, max_line_num=100, update_ms=200, *args, **kwargs):
tkinter.Frame.__init__(self, parent, *args, **kwargs)

self.logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -48,7 +48,7 @@ def __init__(self, parent, app_level=logging.INFO, robot_level=logging.INFO, fmt
self.lb_robot_level = tkinter.Label(self.fr_level_select, text='Log view robot level:')
self.ddvar_robot_level = tkinter.StringVar(self)
self.dd_robot_level = tkinter.OptionMenu(self.fr_level_select, self.ddvar_robot_level, *choices, command=self.on_robot_level_selection_changed)
self.ddvar_robot_level.set(choices[1]) # TODO: change to given parameter
self.ddvar_robot_level.set(choices[0]) # TODO: change to given parameter
self.btn_section_break = tkinter.Button(self.fr_level_select, text="Section break", command=self.on_btn_section_break)

self.lb_app_level.pack(side=tkinter.LEFT)
Expand Down

0 comments on commit ad8259d

Please sign in to comment.