Nathan Bubna wrote:
are you perchance using VelocityTools when you get these?

No. It is happening at startup (I will paste the log from the begining of tomcat start to where velocity loads the velocity.properties file, below).


  <servlet>
    <servlet-name>velocity</servlet-name>

<servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
    <init-param>
      <param-name>org.apache.velocity.properties</param-name>
      <param-value>/WEB-INF/velocity.properties</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>



One thing that is weird is I am getting duplicate log entries. But that does not appear to be velocity related as tomcat lines are duplicated.

thanks,
-Rob


2005-10-05 10:20:22,669 INFO http11.Http11Protocol - Initializing Coyote HTTP/1.1 on http-8088 2005-10-05 10:20:22,687 INFO startup.Catalina - Initialization processed in 3878 ms 2005-10-05 10:20:22,687 INFO startup.Catalina - Initialization processed in 3878 ms 2005-10-05 10:20:22,772 INFO core.StandardService - Starting service Catalina 2005-10-05 10:20:22,772 INFO core.StandardService - Starting service Catalina 2005-10-05 10:20:22,801 INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/5.5.9 2005-10-05 10:20:22,801 INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/5.5.9
2005-10-05 10:20:22,823 INFO  core.StandardHost - XML validation enabled
2005-10-05 10:20:22,823 INFO  core.StandardHost - XML validation enabled
2005-10-05 10:20:30,675 INFO [localhost].[/] - Velocity [warn] LogSystem has been deprecated. Please use a LogChute implementation. 2005-10-05 10:20:30,675 INFO [localhost].[/] - Velocity [warn] LogSystem has been deprecated. Please use a LogChute implementation. 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] VelocityViewServlet: Custom Properties File: /WEB-INF/velocity.properties 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] VelocityViewServlet: Custom Properties File: /WEB-INF/velocity.properties 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] ************************************************************** 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] ************************************************************** 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] Starting Jakarta Velocity v1.5-dev 2005-10-05 10:20:30,676 INFO [localhost].[/] - Velocity [info] Starting Jakarta Velocity v1.5-dev 2005-10-05 10:20:30,677 INFO [localhost].[/] - Velocity [info] RuntimeInstance initializing. 2005-10-05 10:20:30,677 INFO [localhost].[/] - Velocity [info] RuntimeInstance initializing. 2005-10-05 10:20:30,677 INFO [localhost].[/] - Velocity [info] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties 2005-10-05 10:20:30,677 INFO [localhost].[/] - Velocity [info] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties


On 10/5/05, Robert Koberg <[EMAIL PROTECTED]> wrote:

Hi,

I am using the latest velocity from SVN and log4j-1.2.12 in tomcat
5.5.9. I am getting the following warning in my log file:

2005-10-05 10:08:09,553 INFO  [localhost].[/] -  Velocity   [warn]
LogSystem has been deprecated. Please use a LogChute implementation.
2005-10-05 10:08:09,553 INFO  [localhost].[/] -  Velocity   [warn]
LogSystem has been deprecated. Please use a LogChute implementation.

How do I use a LogChute implementation?

My velocity.properties specifies no logging information (I never have).
Should I be? If LogSystem is deprecated, should the default be LogChute?

I tried setting the following in my velocity.properties to no avail:

runtime.log.logsystem = org.apache.velocity.runtime.log.Log4JLogChute

best,
-Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to