bryan-stearns commited on
Commit
3ba89e1
1 Parent(s): fffe603

Disabling logging

Browse files
Files changed (1) hide show
  1. shared_streamlit_funcs.py +5 -5
shared_streamlit_funcs.py CHANGED
@@ -16,12 +16,12 @@ def make_agent(config_name="agent_demo"):
16
  decConfig.selectAll()
17
  st.session_state.agent.addSettings(decConfig)
18
  # Configure debug printing
19
- # st.session_state.agent.logger.disable()
20
  st.session_state.agent.logger.setWriteToFile(False)
21
- st.session_state.agent.logger.setEnableLogCycles(True)
22
- st.session_state.agent.logger.setEnableLogContexts(True)
23
- st.session_state.agent.logger.setEnableLogOperators(True)
24
- st.session_state.agent.logger.setEnableLogActivation(True)
25
  return decConfig
26
 
27
  def init():
 
16
  decConfig.selectAll()
17
  st.session_state.agent.addSettings(decConfig)
18
  # Configure debug printing
19
+ st.session_state.agent.logger.disable()
20
  st.session_state.agent.logger.setWriteToFile(False)
21
+ # st.session_state.agent.logger.setEnableLogCycles(True)
22
+ # st.session_state.agent.logger.setEnableLogContexts(True)
23
+ # st.session_state.agent.logger.setEnableLogOperators(True)
24
+ # st.session_state.agent.logger.setEnableLogActivation(True)
25
  return decConfig
26
 
27
  def init():