[jboss-jira] [JBoss JIRA] (WFLY-1619) Output to JBOSS_CONSOLE_LOG should be Appended to allow Truncate for Log Rotation
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Mon Jul 15 02:17:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789553#comment-12789553 ]
jaikiran pai commented on WFLY-1619:
------------------------------------
Dhruv, I see that you have attached patch files to this JIRA. We accept contributions through github (details here https://community.jboss.org/wiki/HackingOnWildFly). Can you please issue a github pull request with the changes, so that they can be reviewed and merged?
> Output to JBOSS_CONSOLE_LOG should be Appended to allow Truncate for Log Rotation
> ---------------------------------------------------------------------------------
>
> Key: WFLY-1619
> URL: https://issues.jboss.org/browse/WFLY-1619
> Project: WildFly
> Issue Type: Enhancement
> Components: Scripts
> Affects Versions: 8.0.0.Alpha2
> Reporter: Dhruv Ahuja
> Priority: Minor
> Attachments: jboss-as-domain.sh.patch, jboss-as-standalone.sh.patch
>
>
> The init scripts (jboss-as-domain.sh and jboss-as-standalone.sh) use the BASH redirect operator {{>}} to write output meant for the console upon starting the service to, by default, the console.log file. Truncating this file (for perhaps log rotation) whilst the service is running has proven to be ineffective due to this mode of writing.
> Please see a related issue: JBAS-6361 . Also, a useful discussion on the use of {{>}} and {{>>}} (append) operators relevant in this context can be found at: http://stackoverflow.com/questions/980283/truncating-a-file-while-its-being-used-linux .
--
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