2010/11/30 Stadelmann Josef <[email protected]>

> 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?
>
> My question is where to define the xxxx.


> Maybe you think of xxxx as shown below!
> # R is a rolling file appender  --- not used yet / no need to parse
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.Append=true
> log4j.appender.R.File=${xxxx}logs/tomcat.log
> log4j.appender.R.MaxFileSize=2MB
> log4j.appender.R.MaxBackupIndex=10
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> 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
>
> Yes,so it means the xxxx can be set in the System.properties?


> ./logs/tomcat.log
>
> Josef
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: maven apache [mailto:[email protected]]
> 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 <[email protected]>
>
> > Can you clarify what you mean specifically by 'wildcard'?
> >
> > Scott
> >
> > On Mon, Nov 29, 2010 at 3:32 AM, maven apache <[email protected]
> > >wrote:
> >
> > > Hi:
> > > Does log4j support wildcard?
> > >
> > > Is there a example?
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to