Bug 1547685
| Summary: | [RFE] dump all colonizer related logs in one standard location ideally in /var/log | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> |
| Component: | gluster-colonizer | Assignee: | Ramakrishna Reddy Yekulla <rreddy> |
| Status: | CLOSED DEFERRED | QA Contact: | Rahul Hinduja <rhinduja> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rhgs-3.3 | CC: | rhs-bugs, rreddy |
| Target Milestone: | --- | Keywords: | FutureFeature, RFE, Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-04-18 09:54:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nag Pavan Chilakam
2018-02-21 17:34:06 UTC
I chose not to put the main script log, gluster-colonizer.log, into the /var/log directory because it is not an ongoing service but a one-time utility. It seems reasonable to me for that reason that the main log output be placed into $pwd, but I'm willing to be persuaded otherwise. The other files you mention are not exactly logs. The readme file I don't think belongs under /var/log at all. It could also be placed in $pwd, but I felt personally that placing it in /root made more sense. The same goes for the performance script output. This file contains run results, not logs, and so I believe does not belong in /var/log. Again, /root seemed like the most logical place to me for this file to be placed. I think a reasonable fix is to create a symlink to things going in the log dir in $pwd or in $home so that they appear easily for the user but are centrally logged (In reply to Jeff Applewhite from comment #3) > I think a reasonable fix is to create a symlink to things going in the log > dir in $pwd or in $home so that they appear easily for the user but are > centrally logged +1 I have opened an upstream RFE issue for the same, the runtime logging can happen on $PWD but standard logging of colonizer as an application can be enabled. Closing all Colonizer BZs (as DEFERRED) as we do not intend to work on them for the time being. |