For tests, I typically use slf4j-simple. Relying on the slf4j-api is enough for 
compile-time - the user can declare their preferred implementation.

On 25/05/2011, at 5:03 PM, Mark Struberg wrote:

> Guess there is a lot room for improvement ;) 
> I was trying to get my debug logs running but since jul logging didnt give me 
> anything I tried to add logback.
> 
> What is the prefered way to log nowadays? Back then it was commons-logging 
> under the shelf, but what is suggested now?
> 
> Is there an example with a blueprint we can rip off and upgrade subprojects 
> to?
> 
> LieGrue,
> strub
> 
> PS: my maven fuu is still a bit rusty.
> 
> 
> --- On Wed, 5/25/11, Brett Porter <[email protected]> wrote:
> 
>> From: Brett Porter <[email protected]>
>> Subject: Re: svn commit: r1127331 - in /maven/wagon/trunk: ./ 
>> wagon-provider-api/ wagon-provider-test/ wagon-providers/wagon-ftp/ 
>> wagon-providers/wagon-ssh-common-test/ wagon-providers/wagon-ssh/ 
>> wagon-tcks/wagon-tck-http/ wagon-tcks/wagon-tck-http/sample-tck-consu...
>> To: "Maven Developers List" <[email protected]>
>> Date: Wednesday, May 25, 2011, 6:57 AM
>> 
>> On 25/05/2011, at 9:19 AM, [email protected]
>> wrote:
>> 
>>> 
>>> Modified:
>> maven/wagon/trunk/wagon-providers/wagon-ftp/pom.xml
>>> URL: 
>>> http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-providers/wagon-ftp/pom.xml?rev=1127331&r1=1127330&r2=1127331&view=diff
>>> 
>> ==============================================================================
>>> ---
>> maven/wagon/trunk/wagon-providers/wagon-ftp/pom.xml
>> (original)
>>> +++
>> maven/wagon/trunk/wagon-providers/wagon-ftp/pom.xml Tue May
>> 24 23:19:31 2011
>>> @@ -50,6 +50,10 @@ under the License.
>>>    
>>    <groupId>org.slf4j</groupId>
>>>    
>>    <artifactId>slf4j-jdk14</artifactId>
>>>    
>>    <version>1.5.2</version>
>>> +    </dependency>
>>> +    <dependency>
>>> +     
>> <groupId>ch.qos.logback</groupId>
>>> +     
>> <artifactId>logback-classic</artifactId>
>>>    
>>    <scope>test</scope>
>>>      </dependency>
>>>    </dependencies>
>> 
>> Why are both logback and slf4j-jdk14 needed?
>> 
>> - Brett
>> --
>> Brett Porter
>> [email protected]
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to