Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > 1.4 logging API for 1.3.1 ??

Reply
Thread Tools

1.4 logging API for 1.3.1 ??

 
 
Sasha
Guest
Posts: n/a
 
      07-23-2003
Hi there,

I've developed an application server which requires J2SDK 1.4 -- it uses the
logging facilities new in that version.

However, I now have to integrate some (closed-source) code into my app,
which doesn't work under 1.4, only 1.3.1. The software vendor acknowledges
the problem, but refuses to support anything but 1.3.1. The problem is
something to do with SSL authentication.

Given that finding a new vendor isn't an option -- and that getting this
project underway fast is a priority -- what are my options? Will I have to
re-code my logging stuff? I'm not keen on that idea, to tell the truth, but
if it's what I have to do... then that's what I have to do.

Thanks,

Sasha.


 
Reply With Quote
 
 
 
 
Mike Schilling
Guest
Posts: n/a
 
      07-23-2003

"Sasha" <(E-Mail Removed)> wrote in message
news:3f1eb963$0$1208$(E-Mail Removed) ...
> Hi there,
>
> I've developed an application server which requires J2SDK 1.4 -- it uses

the
> logging facilities new in that version.
>
> However, I now have to integrate some (closed-source) code into my app,
> which doesn't work under 1.4, only 1.3.1. The software vendor acknowledges
> the problem, but refuses to support anything but 1.3.1. The problem is
> something to do with SSL authentication.
>
> Given that finding a new vendor isn't an option -- and that getting this
> project underway fast is a priority -- what are my options? Will I have to
> re-code my logging stuff? I'm not keen on that idea, to tell the truth,

but
> if it's what I have to do... then that's what I have to do.



Look at http://javalogging.sourceforge.net/. This is Lumberjack, an open
source implementation of the 1.4 logging API.


 
Reply With Quote
 
 
 
 
Minh Tran-Le
Guest
Posts: n/a
 
      07-23-2003

"Sasha" <(E-Mail Removed)> wrote in message
news:3f1eb963$0$1208$(E-Mail Removed) ...
> Hi there,
>
> I've developed an application server which requires J2SDK 1.4 -- it uses

the
> logging facilities new in that version.
>
> However, I now have to integrate some (closed-source) code into my app,
> which doesn't work under 1.4, only 1.3.1. The software vendor acknowledges
> the problem, but refuses to support anything but 1.3.1. The problem is
> something to do with SSL authentication.
>
> Given that finding a new vendor isn't an option -- and that getting this
> project underway fast is a priority -- what are my options? Will I have to
> re-code my logging stuff? I'm not keen on that idea, to tell the truth,

but
> if it's what I have to do... then that's what I have to do.
>



I have been using Log4J that is available here:
http://jakarta.apache.org/log4j/

It works with both jdk1.3.x and jdk1.4.x the newer version have interface
that is closer to the logging facilities available in jdk1.4.x.

Minh Tran-Le.

 
Reply With Quote
 
Joseph Millar
Guest
Posts: n/a
 
      07-23-2003
On Thu, 24 Jul 2003 02:35:46 +1000, "Sasha" <(E-Mail Removed)>
wrote:
> I've developed an application server which requires J2SDK 1.4 -- it uses the
> logging facilities new in that version.
>
> However, I now have to integrate some (closed-source) code into my app,
> which doesn't work under 1.4, only 1.3.1. The software vendor acknowledges
> the problem, but refuses to support anything but 1.3.1. The problem is
> something to do with SSL authentication.


I sympathize. You have a decision to make. In my opinion,
this vendor who refuses to upgrade to 1.4.x is saying they
have a lack of commitment to their product and that it may
well not be supported in the near future. Any vendor who
does not upgrade their products on newer base platforms
is forcing their customers to look at other options.

So you need to decide, stay with them and submit to their
control, or look elsewhere for less restrictive product
that allows you to grow and upgrade. I have no idea how
easy or hard it will be to find another solution, that's
something you have to determine, which is best in this
situation.


> Given that finding a new vendor isn't an option -- and that getting this
> project underway fast is a priority -- what are my options? Will I have to
> re-code my logging stuff? I'm not keen on that idea, to tell the truth, but
> if it's what I have to do... then that's what I have to do.


There are a number of other logging api's available for
Java by thrid parties, both open source and purchased. A
simple search in google will find a number of them.

Good luck.

--Joe
 
Reply With Quote
 
Dale King
Guest
Posts: n/a
 
      07-25-2003
In article <3f1f211b$0$1206$(E-Mail Removed)>,
http://www.velocityreviews.com/forums/(E-Mail Removed) says...
> "Mike Schilling" <(E-Mail Removed)> wrote in message
> newsGATa.504$(E-Mail Removed).. .
> > Look at http://javalogging.sourceforge.net/. This is Lumberjack, an open
> > source implementation of the 1.4 logging API.

>
> Mike, Minh, Joseph --
>
> thanks for your responses. I think I'm going to have to re-code the logging
> component of my application (by no means small... it involves a lot of JNI
> code), just for this one piece of software. Pain!


If you do end up recoding, it would be a good idea to look at
recoding to the Jakarta Commons Logging API:

http://jakarta.apache.org/commons/logging.html

It is not itself a logging implementation, but is meant to be a common
interface for logging. You code to its API and then you plug in a
particular implementation such as JDK1.4 Logging or Log4J or whatever. If
your code were written to the Commons Logging API you would not have to
change your code to switch to a different logger.
--
Dale King
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Logging to a file and closing it again properly (logging module) Christoph Haas Python 1 06-14-2006 08:47 AM
Logging to a file and closing it again properly (logging module) Christoph Haas Python 0 06-12-2006 09:58 PM
logging buffered vs. logging history Christian Roos Cisco 4 02-05-2006 10:55 PM
java.util.logging, where to put logging.properties? janne Java 0 09-10-2004 10:18 AM
[java.util.logging] logging only to _one_ file Stefan Siegl Java 0 08-27-2003 12:29 PM



Advertisments