[logback-user] control Loglevels through an external property file

Yihya Hugirat hugirat at gmail.com
Tue Mar 22 08:42:22 CET 2011


i have found the problem (windows [?])  as i have created
the Levels.properties file i have created a text file but because  windows
doesn't show the type i have not seen the .txt

2011/3/22 Yihya Hugirat <hugirat at gmail.com>

>
> hallo all,
> we are migrating our logging System from JUL to Logback, we are using
> galssfish as web container. We are interested in controlling the loglevels
> through an external property file like the one in galssfish, i have tried to
> setup something like this with the file property but i keep get a
> filenotfoundexception
> here is the property:
> <property file="Levels.properties" />
> i have created a logfile with the name of the web app in the same place i
> have no problems with the paths.
> could anyone plz tell me what i'm doing wrong here
>
> Regards
> Huigrat
>
> --
> إِنَّ الَّذِينَ يُحِبُّونَ أَنْ تَشِيعَ الْفَاحِشَةُ فِي الَّذِينَ آمَنُوا
> لَهُمْ عَذَابٌ أَلِيمٌ فِي الدُّنْيَا وَالآخِرَةِ وَاللَّهُ يَعْلَمُ
> وَأَنْتُمْ لا تَعْلَمُونَ
>
>
> My public key please use it when you contact me:
> هذا مفتاحي العام الرجاء أستخدامه عند الإتصال بي:
>
> 09BA B710 4B98 ECDA 8C0A 6CB1 2E1E CF88 6A12 F2C3
>



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


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/20110322/565c74b8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 97 bytes
Desc: not available
URL: <http://qos.ch/pipermail/logback-user/attachments/20110322/565c74b8/attachment-0001.gif>


More information about the Logback-user mailing list