that's rather a log4j but a
struts question...
so you want different log-configurations for different users?
i dont think that it is the intention of a logging framework to log "per user". a log file is something technical, which is supposed to help us coders, not to form a new presentation layer.
if i understood you correctly, it all does not make much sense to me.
but anyhow:
should i need to implement this, i'd probably wrap the logging calls from
to
.
the wrapper-class would then decide which log configuration is appropriate and which (concrete) logger to use... the log4j configuration would be a superset of all possible loggers / handlers.
hope it helps,
jan
[ January 16, 2007: Message edited by: Jan Groth ]