I just read about Guice and I wonder if Guice can help me with the following issue. I have a heavily multi threaded application. I want to create log files which contains all necessary information for a certain business process. Some threads (a group of threads) work for one business process, they heavily depend on each other. For example, a receiver gets a message and the sender returns the result. To keep the log files readable I want all log entries of these threads in a same log file and a separate log file for each group of threads. Some classes are used in different/all thread groups and therefore should log into different log files depending on the group they are in.
I currently have a logger attribute for each class but it is cumbersome to pass the right logger around. Is there a way Guice can help since it's not a singleton scope and not a new object for each logger. Any ideas from the experts? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
