Friends,
I have to modify my application so that it will create a logs folder
having its name as per the user name who is logged in the application.Also,that
folder should have Timestamp.
Presently i have a log4j properties in my WEB-INF\classes\ folder who
takes care of creati
The system variable property substitution worked great with the
"FileNamePattern" param...thanks! Is that available for use with all
config values? For example the email appender's params?
I looked at the watchdogs, but it's not clear to me exactly how they get
used? Do I specify it within the
" What exactly do you mean by "the screen"? "
I mean the "out" object. In the case of JSP this is the JspWriter response
output stream object. Which under TOMCAT is the
org.apache.jasper.runtime.JspWriterImpl object.
("out" is vender specific so it maps to something else under JRUN)
I guess so
If you actually read Scott's text properly below, he does say you
have to create your own XML config file, then place a URL reference
to it in the Application preferences (set the value of the 'automatic
configuration' property).
Paul
On 15/12/2005, at 5:09 AM, Mark wrote:
OK, so I see th
i vaguely remember that there is a file .chainsaw/chainsaw-settings.properties
(or something like that) with a property configurationURL that can be used
for that purpose.
dirk
On Wednesday 14 December 2005 19:09, Mark wrote:
> OK, so I see the example config file. How do I get that into Chain
the desired size is below 100kb.
We like to make some plugin for eclipse wich can produce some debug/
warning/error output.
The complete Code for the plugin fits into some kb, but log4j blows
it up.
I have startet with importing only Logger.java and working trough the
dependencies to get a co
On 12/13/05, Slaughter, Stan <[EMAIL PROTECTED]> wrote:
> What do I need to do to set up an Appender to log to the screen not the
> console?
>
> The equivalent of out.print in a JSP file instead of System.out.print
>
> I need to let the user know when an error occurs and logging error messages
> to
OK, so I see the example config file. How do I get that into Chainsaw so
that I do not have to configure anything upon startup ?
On 12/14/05, Scott Deboy <[EMAIL PROTECTED]> wrote:
>
> From the view-show application wide preferences menu,
> in the 'automatic configuration url' field, provide th
log4j 1.3 alpha breaks up what was previously just one jar into a number of
jars.
Current log4j 1.3 jar itself is 330K, and includes:
config
filter
helpers
html
joran
net
or
pattern
plugins
rolling
rule
scheduler
spi
varia
xml
A number of these could be moved into the log4j-optional jar instead,
Here are the sizes (in KB) of the directories under org.apache.log4j
(from 1.2.8):
58 chainsaw
17 config
75 helpers
5 jdbc
36 jmx
243 lf5
57 net
4 nt
11 or
24 spi
20 varia
32 xml
You could probably remove chainsaw, jdbc, jmx, and lf5. T
Can you list what parts of log4j you want to use and how small you want it?
On 12/13/05, Dennis Keßler <[EMAIL PROTECTED]> wrote:
> Hi,
> we need a much smaller version of log4j because of the package size
> we plan to distribute.
> What is the absolute necessary core of log4j for basic logging
>
>From the view-show application wide preferences menu,
in the 'automatic configuration url' field, provide the URL to your chainsaw
xml config file.
On windows, the url usually looks like this:
file:///c:/log4j/chainsaw-receiver.xml
You can see an example of the receiver configuration file from
It works but you may want to wait 20-30 minutes this list has good
response and they may tell you how to set up the Log4j.xml file. I had
to "hack" it make it a panel so I could embed in my application and not
run as a standalone
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Se
hrmm. So you had to hack the code to get this to happen. I have been
looking at the code, and it does not look like it would be tough to do. Not
sure what the status of the zero-config code is, but I will do the same
thing that you did.
Thanks.
On 12/14/05, Harp, George <[EMAIL PROTECTED]> w
With the old version of chainsaw I created a panel like the Jframe
example they had and then created the receiver first then the appender
with a static method executed when the application started.
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005
"...In your case you are assuming that every entry written to the log should
be shown to the user and in most cases this would not be the preferred
mode to use log4j in..."
Well, not really - I could just use two loggers. One logger which sent
console messages only and another that sent console a
How can I load a Receiver upon startup of Chainsaw. I do not want to
configure the receiver each time that I start Chainsaw. If there is a way
to have the receiver started when the Chainsaw GUI is shown, that would be
ideal !!
TIA
17 matches
Mail list logo