[email protected]
[Top] [All Lists]

RE: logging directory...

Subject: RE: logging directory...
From: "bruce"
Date: Fri, 4 Jan 2008 17:09:48 -0800

just what is meant by A1, A2, A3????

thanks again for reading what are surely basic questions..!

-----Original Message-----
From: bruce [mailto:[email protected]]
Sent: Friday, January 04, 2008 4:57 PM
To: 'Knut Urdalen'; [email protected]
Subject: RE: logging directory...

hi again knut..

and thanks or answering/replying to my basic questions...

i've looked at the information/links listed below, and i've tried to figure
out how that relates to the log4php files in the app i downloaded.

basically, i'm trying to find a sample, that uses an ini file (not xml) to
be able to quickly configure the app, so i can do a test php chunk of script
to log some test messages...

i'm pretty sure everything i need is right in front of me if i can grasp it.
i've searchd the 'net trying to see if there's a sample/example test app
that i can examine.


-----Original Message-----
From: Knut Urdalen [mailto:[email protected]]
Sent: Friday, January 04, 2008 4:29 PM
To: bruce
Subject: Re: logging directory...

bruce wrote:
> must be missing something, because i can't seem to find/see anything that
> sets the log file/dir...
The file-property of the LoggerAppenderFile holds the path to the log
file. See:

The layout-property of an appender controls the output format.
LoggerLayoutTTCC is a default one that contains the date/time.

You can also use a LoggerPatternLayout and set the conversionPattern
property to control the exact output. See this example:

See all the modifiers available in the pattern layout here:

The rest of the API documentation is also helpful:

Best regards,
Knut Urdalen

<Prev in Thread] Current Thread [Next in Thread>