Log4j

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • javalover
    New Member
    • Aug 2007
    • 3

    Log4j

    How can configure the downloaded Log4j software with myjdk1.5.
    What is the use of Log4j.can any one please give me a sample with steps.
    I am a beginer on that
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by javalover
    How can configure the downloaded Log4j software with myjdk1.5.
    What is the use of Log4j.can any one please give me a sample with steps.
    I am a beginer on that
    I'd say if you don't know any use for Log4J, don't use it. When you feel the
    urge to System.out.prin tln() some log messages, read Log4J's online manual
    and see how you can configure that logging framework. Hint: there are three
    ways to configure Log4J:

    1) using a .properties file
    2) using an .xml file
    3) programmaticall y.

    kind regards,

    Jos

    Comment

    • javalover
      New Member
      • Aug 2007
      • 3

      #3
      Originally posted by JosAH
      I'd say if you don't know any use for Log4J, don't use it. When you feel the
      urge to System.out.prin tln() some log messages, read Log4J's online manual
      and see how you can configure that logging framework. Hint: there are three
      ways to configure Log4J:

      1) using a .properties file
      2) using an .xml file
      3) programmaticall y.

      kind regards,

      Jos
      I am using Log4J in my project.But it is huge standalone project.Can you tell me how can i do it programmaticall y please?

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by JosAH
        .... read Log4J's online manual
        and see how you can configure that logging framework ...
        . .

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          Originally posted by r035198x
          . .
          I'm afraid it's a 'reading' thingy again ...

          kind regards,

          Jos

          Comment

          Working...