SMTPAppender for android

View: New views
3 Messages — Rating Filter:   Alert me  

SMTPAppender for android

by e.spin :: Rate this Message:

| View Threaded | Show Only this Message

Hi,
I am just trying out logback for Android and I was curious about the
possibility to use SMTPAppender,
but found out it is not included in the features set.

Is there any technical reason why this appender is not supported?
Or is it just because of "logistics" (aka lack of available effort/time ;-)?

Thanks a lot for your feedback
Bye
--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick
"He who refuses to do arithmetic is doomed to talk nonsense."—John McCarthy
_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

Re: SMTPAppender for android

by tony19 :: Rate this Message:

| View Threaded | Show Only this Message

See comments below.

On Thu, Jan 12, 2012 at 3:49 AM, Enrico Spinielli <enrico.spinielli@...> wrote:
Hi,
I am just trying out logback for Android and I was curious about the
possibility to use SMTPAppender,
but found out it is not included in the features set.


The SMTPAppender is currently not supported in Android because it requires the javax.mail package, which Android does not support out of the box. Since it's a non-trivial task to add this support, I simply removed this particular appender.
 
Is there any technical reason why this appender is not supported?
Or is it just because of "logistics" (aka lack of available effort/time ;-)?


Indeed, it's lack of time. You can submit a feature request (via an Issue); and/or implement and pull-request it.
 
Thanks a lot for your feedback
Bye
--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick
"He who refuses to do arithmetic is doomed to talk nonsense."—John McCarthy
_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

Re: SMTPAppender for android

by e.spin :: Rate this Message:

| View Threaded | Show Only this Message

FYI
probably using the javamail port to android will make it a simpler task...
http://code.google.com/p/javamail-android/

Hope it helps
Bye
Enrico

On Thu, Jan 12, 2012 at 14:53, Tony Trinh <tony19@...> wrote:

> See comments below.
>
> On Thu, Jan 12, 2012 at 3:49 AM, Enrico Spinielli
> <enrico.spinielli@...> wrote:
>>
>> Hi,
>> I am just trying out logback for Android and I was curious about the
>> possibility to use SMTPAppender,
>> but found out it is not included in the features set.
>>
>
> The SMTPAppender is currently not supported in Android because it requires
> the javax.mail package, which Android does not support out of the box. Since
> it's a non-trivial task to add this support, I simply removed this
> particular appender.
>
>>
>> Is there any technical reason why this appender is not supported?
>> Or is it just because of "logistics" (aka lack of available effort/time
>> ;-)?
>>
>
> Indeed, it's lack of time. You can submit a feature request (via an Issue);
> and/or implement and pull-request it.
>
>>
>> Thanks a lot for your feedback
>> Bye
>> --
>> Enrico Spinielli
>> "Do Androids dream of electric sheep?"— Philip K. Dick
>> "Hear and forget; see and remember;do and understand."—Mitchel Resnick
>> "He who refuses to do arithmetic is doomed to talk nonsense."—John
>> McCarthy
>> _______________________________________________
>> Logback-user mailing list
>> Logback-user@...
>> http://mailman.qos.ch/mailman/listinfo/logback-user
>
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user@...
> http://mailman.qos.ch/mailman/listinfo/logback-user



--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick
"He who refuses to do arithmetic is doomed to talk nonsense."—John McCarthy
_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user