Skip to content

Commit

Permalink
Configure agent to use the disable logs options
Browse files Browse the repository at this point in the history
Issue #151
  • Loading branch information
damies13 committed Apr 8, 2024
1 parent 3643bfc commit b46f3db
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rfswarm_manager/rfswarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2731,6 +2731,15 @@ def OpenFile(self, ScenarioFile):
# injectsleepmaximum = 33
if "injectsleepmaximum" in filedata[istr] and len(filedata[istr]["injectsleepmaximum"]) > 0:
base.scriptlist[ii]["injectsleepmaximum"] = int(filedata[istr]["injectsleepmaximum"])
# disableloglog
if "disableloglog" in filedata[istr]:
base.scriptlist[ii]["disableloglog"] = base.str2bool(filedata[istr]["disableloglog"])
# disablelogreport
if "disablelogreport" in filedata[istr]:
base.scriptlist[ii]["disablelogreport"] = base.str2bool(filedata[istr]["disablelogreport"])
# disablelogoutput
if "disablelogoutput" in filedata[istr]:
base.scriptlist[ii]["disablelogoutput"] = base.str2bool(filedata[istr]["disablelogoutput"])

if "filters" in filedata[istr]:
base.debugmsg(9, "filedata[istr][filters]:", filedata[istr]["filters"], type(filedata[istr]["filters"]))
Expand Down Expand Up @@ -5258,7 +5267,6 @@ def setings_open(self, _event=None):
setingsWindow.inpDLO = tk.Checkbutton(setingsWindow.fmeTestDefaults, variable=setingsWindow.boolDLO, onvalue=True, offvalue=False)
setingsWindow.inpDLO.grid(column=3, row=rownum, sticky="nsew")


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Manager
#
Expand Down

0 comments on commit b46f3db

Please sign in to comment.