Re: [logback-user] Multiple files and other issues

--------- Original Message -------- Da: logback users list <logback-user@qos.ch> To: logback users list <logback-user@qos.ch> Oggetto: Re: [logback-user] Multiple files and other issues Data: 06/03/09 09:42
Let's start one problem at a time. Here is a simple config file. Try using it and see how it goes. Will build up from there.
Thanks! I've created the logback.xml file with some (very minor) modifications from yours:
<file>traces/MyApp</file>
<file>trace/WebEML</file> and it obviously works... :-) WebEML is the name my product managers chose for my application... even if it has *nothing* to do with web... long story (or stupid PMs, as you prefer).
If you can run the above correctly, we'll add more functionality one step at a time.
Starting from this, I think that the next step should be the customization of the file according to application session... then I'll think about levels and packages "split" on other files. Thanks again, Marco -- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it: http://www.email.it/f Sponsor: I Mostri Oggi: scopri i vizi degli italiani Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8792&d=20090306

Marco Bresciani wrote:
Starting from this, I think that the next step should be the customization of the file according to application session... then I'll think about levels and packages "split" on other files.
What do you mean by customization of the file according to application session? Do you mean that the log file *name* should depend on some data found in the session or do you mean that the data contained *within* the log file should depend on data from the session? By the way, what is the data in the session? Is it the user name? -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch
participants (2)
-
Ceki Gulcu
-
Marco Bresciani