File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "about logging in my assignment." Watch "about logging in my assignment." New topic
Author

about logging in my assignment.

Ronggen Liu
Ranch Hand

Joined: Jul 29, 2007
Posts: 40
Hi,

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.

Thanks
Ronggen


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

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.

-Ronggen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about logging in my assignment.
 
Similar Threads
Logger and assertions
Can we use additional properties files?
Will I fail if I not log ?
Proper Use of Logging
NX: Finishing touches before upload on Monday.