You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Graham Gear (JIRA)" <ji...@apache.org> on 2013/05/02 16:44:16 UTC
[jira] [Commented] (WHIRR-722) Improve user and system level
logging capability
[ https://issues.apache.org/jira/browse/WHIRR-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647577#comment-13647577 ]
Graham Gear commented on WHIRR-722:
-----------------------------------
Patch [graham-patch-WHIRR-722-1.patch|https://issues.apache.org/jira/secure/attachment/12581525/graham-patch-WHIRR-722-1.patch] submitted:
* Filters off all system level logging from console
* Generalises boolean command line arguments/properties, if defined default to true, optional boolean argument
* Includes ClusterSpec.isQuiet passed through boolean command line '--quiet' property for all whirr framework to leverage (eg Commands/Handlers etc).
> Improve user and system level logging capability
> ------------------------------------------------
>
> Key: WHIRR-722
> URL: https://issues.apache.org/jira/browse/WHIRR-722
> Project: Whirr
> Issue Type: Improvement
> Affects Versions: 0.8.2
> Reporter: Graham Gear
> Fix For: 0.8.3
>
> Attachments: graham-patch-WHIRR-722-1.patch
>
>
> Currently the whirr infrastructure leverages log4j for system level logging and stdout/stderr for user level. The former is configured via the 'conf/log4j-cli.xml', the latter via the '--quiet' command line paramater.
> It is suggested that the default shipped log4j-cli.xml tune down (or preferable off) its console logging, but remain logging to whirr.log.
> It is also suggested the '--quiet' command paramater be exposed to Handlers as well as Commands, so that they can leverage it.
> In this way, user and system level logging can be delineated (ie console for user logging, whirr.log for system) without each polluting the other.
--
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