Replies: 4 comments 7 replies
-
Hi @S-Dafarra, sorry, I had missed the first time you opened this, sorry! If I understood correctly, this problem is just related due to the fact that the Having said that, I think the workaround that you propose should work fine. I guess it could be of interested of other persons that are working on logging at different levels (@vtikha @marcoaccame @Nicogene @triccyx). |
Beta Was this translation helpful? Give feedback.
-
Another possibility is also to split the messages to two different loggers. I checked the On the other hand, if the |
Beta Was this translation helpful? Give feedback.
-
Sorry @S-Dafarra, I missed this discussion too... In my opinion, the best way to implement this, could be to remove all the magic of the Another option would be, as you suggest, to choose a different name for the |
Beta Was this translation helpful? Give feedback.
-
In any case, just to be clear about the actual needs, the main usage of the We are trying to exploit more and more Eventually, I can also start another discussion for this. |
Beta Was this translation helpful? Give feedback.
-
We recently tested a network configuration where there are two subnets communicating with each other while being in the same
YARP
network. These two networks are in two different rooms. When testing, we need to launch several applications from either room, but unfortunately the logger can be in a single room because of https://github.com/robotology/yarp/blob/b418c1b37ab7e317369e64f2840bfad3881ad7f5/src/libYARP_logger/src/yarp/logger/YarpLogger.cpp#L505-L509.I suppose that after robotology/yarp#2434 it might be possible to run two different loggers. I guess that the repeater should open the port
/yarlogger
(usually used byyarprun
with the--log
option https://github.com/robotology/yarp/blob/b418c1b37ab7e317369e64f2840bfad3881ad7f5/src/libYARP_os/src/yarp/os/impl/LogForwarder.cpp#L44), while the two instances of theyarplogger
should start with a different name (https://github.com/robotology/yarp/blob/b418c1b37ab7e317369e64f2840bfad3881ad7f5/src/yarplogger/mainwindow.cpp#L319).Does this make any sense? Would it be possible to have this done automatically?
cc @traversaro @pattacini @randaz81 @drdanz
Beta Was this translation helpful? Give feedback.
All reactions