> "Freyss, Joel" wrote:
>
> Thanks, it is working but I have an other question.
>
> Let's say:
> User A merges a template at time T
> User B merges an other template at time T
This depends on how you are using Velocity. If User A and User B are
running separate applications in separate JVMs, than each will have a
separate log message stream.
If you are running both users in the same JVM, say in the same webapp in
a servlet-based application, then no, the messages come in the same
stream, but each log message will have the template name as part of the
message, if appropriate.
> If there is an error, how can I say where it comes from (User A or B
> or both) ?
If they are in the same app, then the thread that calls merge() (or
whatever) will be able to catch the appropriate exception. You won't
see exceptions thrown by other apps / threads.
>
> It would be nice to have more information in the ParseErrorException
> such as the message logged.
What do you mean? A ParseErrorException contains, if I remember right,
lots of juicy info in the message.
geir
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/