[logback-user] Feature/s Question/Request/suggestions

Yihya Hugirat hugirat at gmail.com
Thu Apr 21 14:17:13 CEST 2011


hi all,
i'm a new user of logback, i have noticed the following:
(with web apps)

   1.   when obtaining variables from JNDI used to get the appname to name
   the log file with it, when the webapp first deployed the name ist
   appName_is_UNDEFINDED. but when the logging first uesd a new logfile will be
   created with the wright name. (Suggestion to mention it in the Documentation
   or when it solveable to solve it )
   2. i have run in the following Problem by migrating from JUL to lgoBack,
   we are used to see the log output in Netbeans. so by migration we wanted to
   keep the output in the same way
   so i have used replace to replace the logback levels in JUL levels this
   way:
   <pattern>[#|%date|%replace(%level){'WARN',
   'WARNING'}|%class|%method|%logger{35}|%msg|#]%n</pattern>
   is it possible to add something like that

   <pattern>[#|%date|%replace(%level){'WARN', 'WARNING' }{ 'DEBUG',
   'FINE'}|%class|%method|%logger{35}|%msg|#]%n</pattern>
   to make it replace more than on pattern. (it must not be the same way)

-- 
إِنَّ الَّذِينَ يُحِبُّونَ أَنْ تَشِيعَ الْفَاحِشَةُ فِي الَّذِينَ آمَنُوا
لَهُمْ عَذَابٌ أَلِيمٌ فِي الدُّنْيَا وَالآخِرَةِ وَاللَّهُ يَعْلَمُ
وَأَنْتُمْ لا تَعْلَمُونَ


My public key please use it when you contact me:
هذا مفتاحي العام الرجاء أستخدامه عند الإتصال بي:

09BA B710 4B98 ECDA 8C0A 6CB1 2E1E CF88 6A12 F2C3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110421/e492c6a8/attachment-0001.html>


More information about the Logback-user mailing list