Create an xml configuration file specifying a LogFilePatternReceiver - there is an example receiver configuration file on the Welcome tab, and you can specify the URL to the configuration file in the application-wide preferences screen - specifying the URL to your configuration will cause the configuration to be used each time Chainsaw is started.
The LogFilePatternReceiver javadoc describes how to specify the format of the file and other parameters (available from Chainsaw's help menu). Scott On Thu, May 20, 2010 at 5:25 AM, mokader <[email protected]> wrote: > > Hi Scott, > > For my existing application, we are using log4j and we have log file > appender. > I want to use chainsaw as the log viewer and need to load the file > automatically. > How to configure chainsaw to open a file when chainsaw is started. > > Thanks in advance, > Mohammed > > > Scott Deboy wrote: > > > > Chainsaw does have a receiver that can parse regular text files > > (LogFilePatternReceiver, and VFSLogFilePatternReceiver, which supports > > jakarta-commons-vfs file systems). > > > > -- > View this message in context: > http://old.nabble.com/I-am-trying-to-add-chainsaw-support-to-the-eXist-XML-Database-tp26548991p28620483.html > Sent from the Log4j - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
