logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Vaessen" <robert.vaes...@intepoint.com>
Subject RE: Chainsaw Configuration
Date Thu, 03 Mar 2005 17:57:45 GMT
Hello Dirk,

	Thank you very much. I am a bit embarrassed that I didn't notice
that on my own.

	Do you have any comments on the second part of my question
(configuring Chainsaw to use a Rolling File Appender)? It doesn't seem
to be working for me. I've pasted in my config file below.


<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"

<plugin name="UDPReceiver" class="org.apache.log4j.net.UDPReceiver">
  <param name="Port" value="4446"/>

<plugin name="SocketReceiver"
  <param name="Port" value="4560"/>

<appender name="RollingFile"
  <param name="File"
  <param name="Append" value="true"/>
  <param name="MaxFileSize" value="100KB"/>
  <param name="maxBackupIndex" value="2"/>
  <layout class="org.apache.log4j.SimpleLayout"/>
  <priority value="debug"/>
  <appender-ref ref="RollingFile"/>



-----Original Message-----
From: OOMS DIRK [mailto:Ext.Dirk.Ooms@siemens.be] 
Sent: Thursday, March 03, 2005 11:13 AM
To: 'Log4J Users List'
Subject: RE: Chainsaw Configuration

At the moment you can not specify this "plugin config" as a System
but you can specify it via the menu "Show Application wide preferences"
then "Automatic Configuration URL" (in fact this info is stored in the
chainsaw.settings.properties as configurationURL). You can specify this
using file, http or ftp.


> -----Original Message-----
> From: Robert Vaessen [mailto:robert.vaessen@intepoint.com] 
> Sent: donderdag 3 maart 2005 17:07
> To: log4j-user@logging.apache.org
> Subject: Chainsaw Configuration
> Hello,
>             I am currently configuring my Chainsaw receivers via the
> "You have no Receivers defined." dialog that pops up when Chainsaw
> starts. I have seen the "example Receiver configuration" on Chainsaw's
> Welcome tab and from it infer that I can place a configuration file
> somewhere and have Chainsaw load it. But, try as I may, I cannot
> discover how to do this. I know how to do it with Log4j, but I am
> confused with regards to system options and class paths when 
> it comes to
> Java Web Start (which is how I am running Chainsaw).
>             So, my questions are:
>             1) With what name and in what location can I create a
> Chainsaw configuration file?
>             2) Can I, as the example implies, configure Chainsaw's
> internal logging system via this file? More specifically, can I
> configure a Rolling File Appender that aggregates the logging events
> from all of my remote appenders.
>             Thank you for your time and consideration.
> Best Regards,
> Robert Vaessen

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

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

View raw message