Bug 764582 (GLUSTER-2850)
Summary: | fix/improve log location cli commands | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Venky Shankar <vshankar> |
Component: | cli | Assignee: | Venky Shankar <vshankar> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | amarts, gluster-bugs, vbellur, vs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-08 09:25:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Venky Shankar
2011-04-27 10:29:26 UTC
Why are we introducing a new set subcommand? Shouldn't we use the generic volume setting options, something like gluster volume set log location <>. And what about setting log-level? Our get options is not as good as set, but that is a generic problem which is not specific to getting log location. (In reply to comment #1) > Why are we introducing a new set subcommand? Shouldn't we use the generic > volume setting options, something like gluster volume set log location <>. currently the command is "volume log filename" which is misleading as it accepts directory where the log files would be. The command looks like it is accepting the full file path. More importantly it does not work as expected which means no one would be happy by what it does anyway. > And what about setting log-level? We are planning a new command for this: volume log level <VOLUME> <XLATOR> <LOGLEVEL>, which would set the log level for a particular translator (currently we have a global loglevel. We are planning for per-translator log level). I sent a patch for this cli command. > Our get options is not as good as set, but that is a generic problem which is not specific to getting log location. I think I wasn't clear enough. My question is, why are we proposing this syntax "# gluster volume log set-location <ARGUMENT>" instead of "# gluster volume set log location <ARGUMENT>" which is how all our other settings are done - http://www.gluster.com/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options (In reply to comment #3) > I think I wasn't clear enough. My question is, why are we proposing this syntax > "# gluster volume log set-location <ARGUMENT>" > instead of > "# gluster volume set log location <ARGUMENT>" > which is how all our other settings are done - > http://www.gluster.com/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options VS, We thought it as a activity to fix the issues with already existing 'log' subcommand (there are already 'volume log filename', 'volume log rotate' and 'volume log locate'). We can make 'set-location' as part of volume set subcommand. That should not be a big issue. patch sent for this bug: http://patches.gluster.com/patch/7455/ Planing to keep 3.4.x branch as "internal enhancements" release without any features. So moving these bugs to 3.4.0 target milestone. gluster log locate and gluster log filename commands are deprecated from 3.3.0 releases. |