Java Logger - Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pavankris
    New Member
    • Aug 2006
    • 2

    #1

    Java Logger - Help

    Hi
    I am log details to write to an XML file and i have specified append as true in file handler, but because of this when i execute my program twice it is writing the xml tag twice. is there any suggestion by which i cam avoid writing the xm tag twice.
  • jayakumar
    New Member
    • Aug 2006
    • 1

    #2
    Originally posted by pavankris
    Hi
    I am log details to write to an XML file and i have specified append as true in file handler, but because of this when i execute my program twice it is writing the xml tag twice. is there any suggestion by which i cam avoid writing the xm tag twice.
    :mad: tell which logger you have used.
    Whether java.util.Logge r/ Log4j

    Comment

    • pavankris
      New Member
      • Aug 2006
      • 2

      #3
      Originally posted by jayakumar
      :mad: tell which logger you have used.
      Whether java.util.Logge r/ Log4j
      i have used java.util.logge r

      Comment

      Working...