Meaningless Drivel is fun!
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes about logging in my assignment. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "about logging in my assignment." Watch "about logging in my assignment." New topic

about logging in my assignment.

Ronggen Liu
Ranch Hand

Joined: Jul 29, 2007
Posts: 40

I want to use log4j for logging in my assignment, but there is a question about should i delete the logging, or remain it in my submissiong.


SCJP 1.4,<br />SCJD Java 2,<br />...
Frederic Thierry

Joined: Apr 16, 2006
Posts: 22
On the Sun website for the SCJD exam the folowing is stated:

The following APIs and facilities may not be used:

* Enterprise JavaBeans
* Servlets, JSP technology, or any other web-oriented APIs
* NIO, the New IO facilities
* Java DataBase Connectivity (JDBC) and SQL
* Java IDL API and CORBA
* Third party software libraries or tools

I would believe that log4J is a 3rd party Framework hence I would advice you that if you do use it, make sure that you remove it out from your code before handing in your assignment.

If not good luck with your assignment
mohamed sulibi
Ranch Hand

Joined: Sep 04, 2005
Posts: 169
hi Liu Ronggen;

you can use the Log lib that come with java, java.util.logging.Logger it is simple as log4j.

Best Regards.
Mohamed Darim.
Ronggen Liu
Ranch Hand

Joined: Jul 29, 2007
Posts: 40
Hi Frederic&Mohamed,

Thanks for your advice.

I agree. Here's the link:
subject: about logging in my assignment.
It's not a secret anymore!