Hi everybody,
I want to extend my model and I need to log messages which a agent sends them or receives them during the simulation.
Agent type: BDIv3
Jadex SNAPSHOT 3
Regards,
Ameneh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please explain in more detail what you are trying to achieve.
Log messages are local to agents. If you need a global view you could build you own ILogService to which all agents post messages. Thanks to Jadex distribution transparency you just have to ensure that one such service exists for all agents.
Best,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Thank you for your reply. I need this log for the next step of my work, I am working on the evidence (message exchange between agents, selected action by each agent and time of event ). I want to have a global view and Log local messages for each agent as well.
So, what would you suggest to me.
Best, Ameneh
Last edit: Ami 2016-01-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you need to create a log service and let the agent use this service to transfer messages to a central place (component). Just create the service as you would do with any other Jadex service.
Kind regards
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody,
I want to extend my model and I need to log messages which a agent sends them or receives them during the simulation.
Agent type: BDIv3
Jadex SNAPSHOT 3
Regards,
Ameneh
Any suggestion?
Hi,
please explain in more detail what you are trying to achieve.
Log messages are local to agents. If you need a global view you could build you own ILogService to which all agents post messages. Thanks to Jadex distribution transparency you just have to ensure that one such service exists for all agents.
Best,
Lars
Hi,
Thank you for your reply. I need this log for the next step of my work, I am working on the evidence (message exchange between agents, selected action by each agent and time of event ). I want to have a global view and Log local messages for each agent as well.
So, what would you suggest to me.
Best, Ameneh
Last edit: Ami 2016-01-26
Dose anyone have a suggestion?
Hi Ameneh,
you need to create a log service and let the agent use this service to transfer messages to a central place (component). Just create the service as you would do with any other Jadex service.
Kind regards
Lars
Hi Lars
Thank you for your reply. Can I find something similar on the Jadex examples?
To give me an idea how to impelement this?
Regards,
Ameneh