Hi, I have a problem that maybe someone could solve: I have a network consisting of several nodes that all have to log data independently. I don't know the exact number of nodes before runtime, so Loggers (or appenders) have to be created at runtime.
What I have tried: I use loggers for several other things in my application, so I already have a properties file containing some loggers and appenders. So I added one logger for this purpose and let every node add an appender at runtime. Problem is that the logs of all nodes get merged in all different node-logfiles, so a node logfiles contains the data of all other nodes. I turned additivity off for that logger which didn't seem to solve taht problem. Creating a logger (instead of appender) for every node at runtime? If so, how? I didn't find any documentation on the LoggerFactory class and don't know if this is the indended purpose for it anyway. Any ideas? -- View this message in context: http://www.nabble.com/Using-independent-logs-at-runtime-tp18678394p18678394.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
