> - Can logging be turned on/off in runtime? Yes. > - Can the Logger hierarchy in log4j be mapped to a runtime object > instance and its object hierarchy to log or is the Logger hierarchy > class-oriented? Yes, it isn't tied to the class hierarchy but that is how it is usually used.
> - The 5 loglevels (INFO, WARN etc) seem fixed, but would it be hard to > add another mechanism for our own loglevels for filtering. Custom levels can be added but I don't know them well enough to know how well they would work for you. On 3/24/06, Henrik Leion XA (LI/EAB) <[EMAIL PROTECTED]> wrote: > Hello > I'm developing a simulator tool that creates a lot of state-machines > that performs network signalling and I need a flexible way to monitor > these state-machines, is log4J something I can use? Simulations can > scale up to 15000 messages per second and run for several days. > > Because of the monstrous scale logging everything and filtering > afterwards is not possible. I want the user to be able to do stuff like > "log state-machine X" or "log all state-machines owned by object Y" and > also be able to have custom loglevels so that only certain parts of the > state-machines are printed to log. > > The questions: > - Can logging be turned on/off in runtime? > - Can the Logger hierarchy in log4j be mapped to a runtime object > instance and its object hierarchy to log or is the Logger hierarchy > class-oriented? > - The 5 loglevels (INFO, WARN etc) seem fixed, but would it be hard to > add another mechanism for our own loglevels for filtering. > > > Many thanks, > Henrik Leion > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
