Hi, i am a general user of linux but we work mostly on windows next i am moving full time on linux.
here is my question:
We have product which consist or several subsystem each subsystem has one module to create logs file dump. and i am going to write that support dump tool.
we need to create a zip which consists of various logs file from our product basically for trouble shooting.
This zip consist of following:
- static log files
- run few command and create files
- OS related logs which helps in analyzing system related issues.
Now what approach i have is will have one configuration file which consists of:
- location of files
- commands to run which create files
and each subsystem will have their configuration file so we can collect all logs. done. simple.
The approach looks very simple and i am sure many of you would have same requirement, just wanted to know if there is some tool/command/utility already available where i can define my configuration file and it can fit my requirement?
i have googled and found "rotatelog" can do few, there is "cfg2html" can do few things.. but not really sure if they fit wilth all my requirements.
Please let me also know your suggestions. thanks in advance, will be waiting for replies.