derby.stream.error.style The derby.stream.error.style property specifies that the log file should be rolled over when it reaches a certain size. derby.stream.error.style property Error logrolling over
Function

If you set this property to rollingFile (the only supported value), by default creates up to 10 rolling files named derby-0.log, derby-1.log, and so on, up to derby-9.log, each with a maximum length of 1,024,000 bytes.

You can override any of these defaults by setting one or more of the following properties:

If you set this property, the derby.stream.error.field, derby.stream.error.file, and derby.stream.error.method properties are ignored.

This property works in accordance with the setting of the derby.infolog.append property. If derby.infolog.append is not set or is set to false, any existing log files will be rolled over and a new log file will be created when the engine is started. If derby.infolog.append is set to true, the latest existing log file, if any, will be appended to.

Syntax derby.stream.error.style=style
Default

Not set.

Example derby.stream.error.style=rollingFile
Scope

system-wide

Dynamic or static

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