-
Hi all, am I right in thinking that currently there is no way to run a MAS using "jason some_mas_file.mas2j" without starting the MASConsole GUI? I've looked through the RunLocalMAS class and it seems to have calls to MASConsoleGUI.get() sprinkled in with no conditional logic so I'm thinking the only way to accomplish this would be to write a new class that serves the role of RunLocalMAS, but without the GUI references? Unless there is already a class in the code-base that does that, but at first blush I didn't see one. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Phillip, great that you started to code! the Jason output is managed by a logging system (provided by Java). So to change from MASConsoleGUI to Console, you just need to edit the logging.properties file commenting the line where MASConsoleLogHandler is used and uncommenting the line that uses ConsoleHandler. There is some doc at https://jason-lang.github.io/doc/faq.html#_how_to_log_the_overall_execution |
Beta Was this translation helpful? Give feedback.
Hi Phillip, great that you started to code!
the Jason output is managed by a logging system (provided by Java). So to change from MASConsoleGUI to Console, you just need to edit the logging.properties file commenting the line where MASConsoleLogHandler is used and uncommenting the line that uses ConsoleHandler.
There is some doc at https://jason-lang.github.io/doc/faq.html#_how_to_log_the_overall_execution