Results 1 to 2 of 2
  1. #1
    athar is offline Member
    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    0

    Default How to logging in Java program?

    Hi
    I want a logging mechanism in my java project. I searched in google and i found that Log4j is good for logging. I want to know how to use this logging mechanism in a project? From where to start and where to define txt file path for writing the log?
    Thanks

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default Re: How to logging in Java program?

    Quote Originally Posted by athar View Post
    Hi
    I want a logging mechanism in my java project. I searched in google and i found that Log4j is good for logging. I want to know how to use this logging mechanism in a project? From where to start and where to define txt file path for writing the log?
    Thanks
    Here's a crazy idea: why not read the manual? Also, the Java core classes have a similar Logging framework available; documented and all ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Examples of Logging in a complex GUI program
    By Fubarable in forum New To Java
    Replies: 2
    Last Post: 10-30-2011, 04:16 AM
  2. Java Logging
    By mlr0911 in forum Java Applets
    Replies: 0
    Last Post: 03-25-2011, 03:43 PM
  3. Logging in with Java (cookies)
    By Supamagier in forum Advanced Java
    Replies: 0
    Last Post: 05-15-2009, 11:22 AM
  4. Java Logging
    By vaswin in forum Advanced Java
    Replies: 0
    Last Post: 08-06-2007, 02:18 PM
  5. Java Logging
    By vignesh in forum Advanced Java
    Replies: 3
    Last Post: 08-03-2007, 10:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •