I assume this is true, but do I have to do create new category and factory instances for each channel I have, right?
There are about a dozen channels in James, and since this approach is much more verbose, it's going to make that conf file much larger (which is ok... just wanted to make sure that's what's necessary before I write all that.) Serge Knystautas Loki Technologies http://www.lokitech.com/ ----- Original Message ----- From: "Eung-ju Park" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 27, 2001 9:26 PM Subject: Re: Nearly ready for release > Here is my logs configuration. Finding Giacomo's original description in > bunch of mail is difficult. ;-) > > <logs version="1.1"> > <factories> > <factory type="block" > class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/> > </factories> > > <categories> > <category name="objectstorage" log-level="DEBUG"> > <log-target id-ref="objectstorage"/> > </category> > <category name="" log-level="DEBUG"> > <log-target id-ref="default"/> > </category> > </categories> > > <targets> > <block id="objectstorage"> > <filename>${app.home}/logs/objectstorage.log</filename> > <format type="pattern"><![CDATA[ %{time} [%7.7{priority}] > <<%{category}>> (%{context}): %{message}\n%{throwable}]]></format> > <append>false</append> > </block> > <block id="default"> > <filename>${app.home}/logs/overlord.log</filename> > <append>false</append> > <format type="pattern"><![CDATA[ %{time} [%7.7{priority}] > <<%{category}>> (%{context}): %{message}\n%{throwable}]]></format> > </block> > </targets> > </logs> > > ----- Original Message ----- > From: "Serge Knystautas" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 28, 2001 10:07 AM > Subject: Re: Nearly ready for release > > > > Great Pete! Thanks for the info...I'll give that 1.1 trick a try. > > > > Serge Knystautas > > Loki Technologies > > http://www.lokitech.com/ > > ----- Original Message ----- > > From: "Peter Donald" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, September 27, 2001 8:39 PM > > Subject: Re: Nearly ready for release > > > > > > > On Fri, 28 Sep 2001 07:26, Serge Knystautas wrote: > > > > 4. Log files getting wiped > > > > This seems like a "feature" of the new Avalon, but every time you > start > > > > James, all the log files are wiped. If anybody knows more about this, > > > > that'd be great, otherwise I'll start digging in shortly. > > > > > > This is a "feature" with the logging system James uses atm. You can > > upgrade > > > to a newer system by placing the version="1.1" attribute in logs element > > like > > > > > > <logs version="1.1"> > > > .... > > > </logs> > > > > > > Unfortunately I haven't used the new format so can't describe it. > However > > it > > > was originally proposed by Giacomo on 21st of August and he includes a > > sample > > > config file. The rest of the documentation is in the excalibur project > in > > the > > > javadocs of org.apache.avalon.excalibur.logger.* > > > > > > With that you should be able to log to > files/database/jms/syslog/whatever > > > relatively easy. > > > > > > -- > > > Cheers, > > > > > > Pete > > > > > > *-------------------------------------* > > > | Does the name `Pavlov' ring a bell? | > > > *-------------------------------------* > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
