• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
log4j
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

log4j


  • Subject: log4j
  • From: Ron X <email@hidden>
  • Date: Thu, 24 May 2012 12:00:45 +0300

hi4all

i have currently setted up log4j as:

#============================
log4j.rootLogger = COPY, INFO, A1

log4j.appender.COPY = org.apache.log4j.FileAppender
log4j.appender.COPY.layout = er.extensions.logging.ERXPatternLayout
log4j.appender.COPY.layout.ConversionPattern = %d{ISO8601} %-5p %W{n[i:p s]} %c{1} (%F:%L) %x - %m%n
log4j.appender.COPY.File=/tmp/copy.log
log4j.appender.COPY.MaxFileSize=10MB
log4j.appender.COPY.MaxBackupIndex=5

log4j.logger.com.ls.processing = COPY
#=============================

but no file /tmp/copy.log was created...

how can i set up logging current class/package to special file?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: log4j
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Strange Error On Start
  • Next by Date: Re: D2W: Selectors for enum types?
  • Previous by thread: Re: Strange Error On Start
  • Next by thread: Re: log4j
  • Index(es):
    • Date
    • Thread