The derby.stream.error.style property specifies that the Derby log file should be rolled over when it reaches a certain size.
If you set this property to rollingFile (the only supported value), Derby 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 Derby engine is started. If derby.infolog.append is set to true, the latest existing log file, if any, will be appended to.
derby.stream.error.style=style
Not set.
derby.stream.error.style=rollingFile
This property is static; if you change it while Derby is running, the change does not take effect until you reboot.