Cloudscape Properties,
Page 41 of 44


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

cloudscape.stream.error.method

Function

Specifies a static method that returns a stream to which the Cloudscape error log is written.

Specify the method using the fully qualified name of the class, then a dot (.) and then the method name. The method must be public and static. Its return type can be either java.io.OutputStream or java.io.Writer. Cloudscape will not call the close() method of the object returned by the method.

The method is called once at Cloudscape boot time, and the return value is used for the lifetime of Cloudscape. If the method returns null, the error stream defaults to the system error stream. If the method does not exist or is inaccessible, the error stream defaults to the system error stream (java.lang.System.err).

If the value of this property is set, the property cloudscape.stream.error.field is ignored.

Default

Not set.

Example

cloudscape.stream.error.method=java.sql.DriverManager.
getLogStream

Scope

system-wide

Dynamic or Static

This property is static; if you change it while Cloudscape is running, the change does not take effect until you reboot.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.