You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mike Curwen <gb...@gb-im.com> on 2003/06/27 17:56:00 UTC

[resend] Getting Velocity to shut up. ;)

YIKES!  where did my line breaks go ??

>>


I've found the following two properties:

p.setProperty("runtime.log.invalid.references", "false");
p.setProperty("resource.manager.logwhenfound", "false");

But what about the approximately 30 lines that output when Velocity is
initializing ?  Any way to turn these off ?

Namely, all of this:

INFO  - Starting Jakarta Velocity v1.3.1 (109ms)
INFO  - RuntimeInstance initializing. (109ms)
INFO  - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties (109ms) 
INFO  - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem (109ms) 
INFO  - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem (109ms) 
INFO  - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl) (109ms) 
INFO  - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.FileResourceLoader (140ms) 
INFO  - FileResourceLoader : initialization starting. (140ms) 
INFO  - FileResourceLoader : adding path 'c:\webapps\foo\WEB-INF\tmpl'
(140ms) 
INFO  - FileResourceLoader : adding path
'c:\webapps\foo\WEB-INF\velocity' (140ms) 
INFO  - FileResourceLoader : initialization complete. (140ms) 
INFO  - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl) (140ms) 
INFO  - Default ResourceManager initialization complete. (140ms) 
INFO  - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal (140ms) 
INFO  - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro (156ms) 
INFO  - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse (156ms) 
INFO  - Loaded System Directive:
org.apache.velocity.runtime.directive.Include (156ms) 
INFO  - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach (156ms) 
INFO  - Created: 20 parsers. (234ms) 
INFO  - Velocimacro : initialization starting. (234ms) 
INFO  - Velocimacro : adding VMs from VM library template :
VM_global_library.vm (234ms) 
ERROR - ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader. (250ms) 
INFO  - Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm' (250ms) 
INFO  - Velocimacro :  VM library template macro registration complete.
(250ms) 
INFO  - Velocimacro : allowInline = true : VMs can be defined inline in
templates (250ms) 
INFO  - Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions (250ms) 
INFO  - Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed. (250ms) 
INFO  - Velocimacro : messages on  : VM system will output logging
messages (265ms) 
INFO  - Velocimacro : autoload off  : VM system will not automatically
reload global library macros (265ms) 
INFO  - Velocimacro : initialization complete. (265ms) INFO  - Velocity
successfully started. (265ms)=


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