Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
By default, derby.log grows without bounds if the derby.infolog.append property is set to "true". Setting this to "true" helps in a hands off production environment to ensure that if Derby restarts, the derby.log which might contain important information is not lost. On the other hand, when set the "true" the derby.log grows without bounds. This is problematic in a long running system.
What is really needed is the ability to have a rolling derby.log file support where the maximum file size and maximum number of files can be specified. Derby has the ability to configure the location of the log file (ie. derby.stream.error.file) and also two methods of redirecting the error stream (.ie derby.stream.error.method and derby.stream.error.field). There is no standard implementation that supports a rolling derby.log however.
This facility should be part of the core Derby system so that it works in both embedded and network server models.
Attachments
Attachments
Issue Links
- is depended upon by
-
DERBY-6359 Document rolling derby.log file feature
- Closed
- is related to
-
DERBY-6380 Rolling log files do not get copied in failed directory when a junit test fails
- Closed
- relates to
-
DERBY-5007 Implement an alternative error-logging mechanism using the java.util.logging idiom.
- Open