logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <josef.stadelm...@axa-winterthur.ch>
Subject AW: does log4j support wildcard
Date Tue, 30 Nov 2010 09:05:05 GMT
How can you define a destination with a widlcard?
Think : copy file-a.txt to {widlcard} 
where wildcard is not defined when copy starts executing, 
and then tell me where file-a.txt is after the copy completes?

Maybe you think of xxxx as shown below!
# R is a rolling file appender  --- not used yet / no need to parse
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n

now xxxx is your exported environment variable or a logical 
and it needs to be defined unless your log will be written at 



-----Urspr√ľngliche Nachricht-----
Von: maven apache [mailto:apachemaven0@gmail.com] 
Gesendet: Dienstag, 30. November 2010 00:31
An: Log4J Users List
Betreff: Re: does log4j support wildcard

   1. log4j.appender.FILE=org.apache.log4j.FileAppender
   2. log4j.appender.FILE.File={xxxx}/file.log

where the xxxx is the wildcard

2010/11/30 Scott Deboy <scott.deboy@gmail.com>

> Can you clarify what you mean specifically by 'wildcard'?
> Scott
> On Mon, Nov 29, 2010 at 3:32 AM, maven apache <apachemaven0@gmail.com
> >wrote:
> > Hi:
> > Does log4j support wildcard?
> >
> > Is there a example?
> >

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message