Hello

I have a simple logging strategy but i'm not able to find a good logback 
configuration to get the right result.
My context:
-> an application which is started (and killed) every day (and run several 
hours, but not more that 1 day)

My Need
-> keep 5 days of log history (into 5 files or 5 directory with files ..)
        -> if possible zip/gzip history files
-> several intraday run must log into the same file.
-> if possible, current log file is not versionned with date prefix (or 
directory specific structure).

What i understand after reading logback documentation:
1/ use of file name which contains day information
        => OK but history are not managed (and no more compression)

2/ Rolling appender
        => Seems to not work because timebasedrolling policy suppose that 
process run many daus without stopping 


Is it right ?
Is there a solution ? if not which is the best approach.

Thx
Regards

Christophe Lallement
Technical Architect
ITEC/IBD/DAI
17, cours Valmy
92800 Puteaux
Tel.: +33 (0)1.42.13.94.21
[email protected]


  
*************************************************************************
This message and any attachments (the "message") are confidential, intended 
solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to 
alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be 
liable for the message if altered, changed or
falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont 
confidentiels et susceptibles de contenir des informations couvertes 
par le secret professionnel. 
Ce message est etabli a l'intention exclusive de ses destinataires. Toute 
utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. 
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de 
ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************

<<image/gif>>

<<image/gif>>

_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to