If there would be no log4j.properties by default every user would have
to add a configuration for *every* project. Is this diserable? I think
we need a default configuration.

~Karsten

Am Do 24.05.2007 20:18 schrieb Patrik Nordwall
<[EMAIL PROTECTED]>:

>
>I don't think log4j.properties should be in any of these kind of jar
>files.
>It is only confusing and not any help at all. If I need to do my own
>configuration I must make sure my own log4j.properties is before in the
>classpath, and that is not easy with maven2. I think maven sorts the
>jar
>files in the classpath in alphabetic order.
>
>Yes, I also thought I could put my own log4j.properties in
>src/test/resources or src/main/resources, but apparently I can't.
>
>
>
>
>Karsten Thoms wrote:
>>
>>The log4j.properties in core.workflow is configured to INFO level.
>>DEBUG was only for the test.
>>
>># Set root logger level to DEBUG and its only appender to A1.
>>log4j.rootLogger=INFO, A1
>>
>>
>>-------
>>
>>Karsten Thoms
>>Software-Architekt, Coach
>>
>>Telefon: +49 (0) 231 / 98 60-219
>>Telefax: +49 (0) 231 / 98 60-211
>>Mobil: +49 (0) 163 / 4979708
>>
>>http://www.itemis.de
>>[EMAIL PROTECTED]
>>
>>itemis GmbH & Co. KG
>>Heinrich Str. 51
>>44536 Lünen
>>
>>Rechtlicher Hinweis:
>>
>>Amtsgericht Dortmund, HRA 15248
>>
>>P.h.G.:
>>itemis Verwaltungs GmbH, Amtsgericht Dortmund HRB 18216
>>
>>Geschäftsführer: Wolfgang Neuhaus, Jens Wagener
>>
>>
>>
>>Am 24.05.2007 um 16:58 schrieb Thorsten Kamann:
>>
>>>Is it a good idea to reduce the loglevel to error or info? so the
>>>user can set a higher level if he wants...automatically debug is
>>>not perfect...
>>>
>>>Thorsten
>>>
>>>On 5/24/07, Karsten Thoms <[EMAIL PROTECTED]> wrote:
>>>The configuration in emftools is for the unit tests. We have now
>>>seperated test code into dedicated projects, so the
>>>log4j.properties will only be in core.workflow in the future.
>>>
>>>HTH,
>>>~Karsten
>>>
>>>-------
>>>
>>>Karsten Thoms
>>>Software-Architekt, Coach
>>>
>>>Telefon: +49 (0) 231 / 98 60-219
>>>Telefax: +49 (0) 231 / 98 60-211
>>>Mobil: +49 (0) 163 / 4979708
>>>
>>>http://www.itemis.de
>>>[EMAIL PROTECTED]
>>>
>>>itemis GmbH & Co. KG
>>>Heinrich Str. 51
>>>44536 Lünen
>>>
>>>Rechtlicher Hinweis:
>>>
>>>Amtsgericht Dortmund, HRA 15248
>>>
>>>P.h.G.:
>>>itemis Verwaltungs GmbH, Amtsgericht Dortmund HRB 18216
>>>
>>>Geschäftsführer: Wolfgang Neuhaus, Jens Wagener
>>>
>>>
>>>
>>>Am 23.05.2007 um 17:12 schrieb Patrik Nordwall:
>>>
>>>>
>>>>log4j.properties is included in two oAW jars.
>>>>oaw-core-emftools-4.1.2.jar and oaw-core-workflow-4.1.2.jar
>>>>
>>>>It defines logging at debug level.
>>>>log4j.rootLogger=DEBUG, A1
>>>>
>>>>This is anoying because when building with maven it is not
>>>>possible to
>>>>control the order of the jar files and when oaw becomes first it
>>>>will define
>>>>my logging settings when running JUnit tests.
>>>>
>>>>Do you if there is a good reason for including log4j.properties in
>>>>these
>>>>jars?
>>>>Is there any workaround?
>>>>--
>>>>View this message in context: http://www.nabble.com/
>>>>log4j.properties-tf3804666s17564.html#a10765952
>>>>Sent from the Fornax-Platform mailing list archive at Nabble.com.
>>>>
>>>>

>>>>>>>>---------------------------------------------------------------------
>>>>----
>>>>This SF.net email is sponsored by DB2 Express
>>>>Download DB2 Express C - the FREE version of DB2 express and take
>>>>control of your XML. No limits. Just data. Click to get it now.
>>>>http://sourceforge.net/powerbar/db2/
>>>>_______________________________________________
>>>>Fornax-developer mailing list
>>>>[email protected]
>>>>https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>>>
>>>
>>>

>>>>>>----------------------------------------------------------------------
>>>---
>>>This SF.net email is sponsored by DB2 Express
>>>Download DB2 Express C - the FREE version of DB2 express and take
>>>control of your XML. No limits. Just data. Click to get it now.
>>>http://sourceforge.net/powerbar/db2/
>>>_______________________________________________
>>>Fornax-developer mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>>
>>>
>>>
>>>
>>>--
>>>Thorsten Kamann
>>>Software-Architect, Consultant, Coaching
>>>Germany, NRW
>>>
>>>Business:
>>>itemis products and solutions GmbH & Co. KG
>>>Heinrichstraße 51
>>>44536 Lünen
>>>
>>>Rechtlicher Hinweis:
>>>Amtsgericht Dortmund, HRA 15841
>>>P.h.G.:
>>>Komplementär: itemis management GmbH, Amtsgericht Dortmund HRB 18939
>>>Geschäftsführer Jürgen Rödl
>>>
>>>Personal:
>>>[EMAIL PROTECTED]
>>>http://www.thorsten-kamann.de/
>>>callto://thorque
>>>
>>>Fornax-Platform - Platform for developing MDSD-related Tools and
>>>components
>>>http://www.fornax-platform.org/

>>>>>>----------------------------------------------------------------------
>>>---
>>>This SF.net email is sponsored by DB2 Express
>>>Download DB2 Express C - the FREE version of DB2 express and take
>>>control of your XML. No limits. Just data. Click to get it now.
>>>http://sourceforge.net/powerbar/db2/
>>>_______________________________________________
>>>Fornax-developer mailing list
>>>[email protected]
>>>https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>
>>

>>>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by DB2 Express
>>Download DB2 Express C - the FREE version of DB2 express and take
>>control of your XML. No limits. Just data. Click to get it now.
>>http://sourceforge.net/powerbar/db2/
>>_______________________________________________
>>Fornax-developer mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/fornax-developer
>>
>>
>
>--
>View this message in context:
>http://www.nabble.com/log4j.properties-tf3804666s17564.html#a10789654
>Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>

>>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Fornax-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/fornax-developer


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to