[jboss-jira] [JBoss JIRA] (AS7-4931) configuration history length and the number of days they are kept is hardcoded - this needs to be configurable
Ivo Studensky (JIRA)
jira-events at lists.jboss.org
Fri Jan 18 10:11:21 EST 2013
[ https://issues.jboss.org/browse/AS7-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748944#comment-12748944 ]
Ivo Studensky commented on AS7-4931:
------------------------------------
Which way these should be configurable? I believe that AS7 system properties [1] could be sufficient for it. I've checked that system properties are nicely populated before invoking of createHistoryDirectory() or backup() methods of ConfigurationFile class, at least in the standalone mode. It would only need a slight change in the backup method to remove all out-dated backups instead of the last one only.
[1] https://community.jboss.org/wiki/JBossAS7SystemProperties
> configuration history length and the number of days they are kept is hardcoded - this needs to be configurable
> --------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4931
> URL: https://issues.jboss.org/browse/AS7-4931
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Tom Fonteyne
> Priority: Minor
>
> Currently 100 configuration settings are kept for 30 days. These settings are hard-coded in
> org/ jboss/ as/ controller/ persistence/ ConfigurationFile.java
> 057 private static final int CURRENT_HISTORY_LENGTH = 100;
> 058 private static final int HISTORY_DAYS = 30;
> As per PM: this is a bug/gap in the original requirements
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list