HIP-690 files collected to collected-files/ commands to collected-commands/

================================================================================

Host Power Tools / HIP-690
improve logs collection structure

Type:              Improvement                       Status:        Open                       Assignee: Guy Rozendorn
Priority:          Minor                             Resolution:    Unresolved                 Reporter: Arnon Yaari
Affects Version/s:                                   Fix Version/s: 1.1
Components: logs collector                                                                     Created: 2013-08-09 12:00
Labels:                                                                                        Updated: 2013-08-09 17:50

Issue Links:

Sub-Tasks:

Description:
1. We should put all the files generated from the logs collection in a separate directory, to distinguish from files that were already on the user's system. It's unclear that the files in the top level directory are *only* output from the logs collection, and contain only system info, and that the more interestging logs (the ones that contain the failures the user encountered) are not there
2. The 3-file format of the outputs from the commands we run (returncode, stderr, and stdout) - is not very comfortable for viewing
3. For the commands we run during logs collection, I can't see the actual command-line we tried to run anywhere, which makes the output pretty useless.. :/

Comments:
Guy Rozendorn added a comment - 2013-08-09 17:40
The top-level directory in the archive contains a log of the log-collecting process; we should give that log file a different name, though. see {{create_logging_handler_for_collection}}
the files in the top-level directory are only files generated by the log collection, and all the collected files are under the sub-directories

Arnon Yaari added a comment - 2013-08-09 17:50
right, I'm saying that this isn't clear and it would be better if they wouldn't be in the top-level, but under their own directory with a descriptive name.
HIP-690 different output format for commands

================================================================================

Host Power Tools / HIP-690
improve logs collection structure

Type:              Improvement                       Status:        Open                       Assignee: Guy Rozendorn
Priority:          Minor                             Resolution:    Unresolved                 Reporter: Arnon Yaari
Affects Version/s:                                   Fix Version/s: 1.1
Components: logs collector                                                                     Created: 2013-08-09 12:00
Labels:                                                                                        Updated: 2013-08-09 17:50

Issue Links:

Sub-Tasks:

Description:
1. We should put all the files generated from the logs collection in a separate directory, to distinguish from files that were already on the user's system. It's unclear that the files in the top level directory are *only* output from the logs collection, and contain only system info, and that the more interestging logs (the ones that contain the failures the user encountered) are not there
2. The 3-file format of the outputs from the commands we run (returncode, stderr, and stdout) - is not very comfortable for viewing
3. For the commands we run during logs collection, I can't see the actual command-line we tried to run anywhere, which makes the output pretty useless.. :/

Comments:
Guy Rozendorn added a comment - 2013-08-09 17:40
The top-level directory in the archive contains a log of the log-collecting process; we should give that log file a different name, though. see {{create_logging_handler_for_collection}}
the files in the top-level directory are only files generated by the log collection, and all the collected files are under the sub-directories

Arnon Yaari added a comment - 2013-08-09 17:50
right, I'm saying that this isn't clear and it would be better if they wouldn't be in the top-level, but under their own directory with a descriptive name.
TRIVIAL fixing tests