Sha256: 2ce17095533fcc0bf78f97b61d5e926f20cd179147c4713e52835ac6b7003885
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
<<<<<<< HEAD # LogView ## Installation Execute ```sh $ gem install log_view ``` ## Getting Started 1. Execute $ log_view The software will create a .log_view.yml file in your home 2. Configure the .log_view.yml file as the described exemple in the .log_view.yml file 3. Run: ```sh $ log_view ``` This step will show your configured projects. Use the described options in the output of third step to perform your ```sh $ log_view <project-name> <options> ``` ## Help Execute command line without parameters ```sh $ log_view ``` ## Basic Commands log_view gem offers four commands 1. **--split-log** The split-log option This command will separate log by file and server ```sh $ log_view <project_name> --split-log ``` 2. **--grep** The grep option This is the basic grep function. You should write like: ```sh $ log_view <project_name> --grep <grep_string> ``` 3. **-s** The choose server option This command allow you to choose a single server to monitoring ```sh $ log_view <project_name> -s <server name> ``` You can write any single parts of server's name. Like this exemple: ```yaml project_name1: user: a password: b servers: - test-server1 - test-server2 files: - test-file1 - test-file2 ``` ```sh $ log_view project_name1 -s server1 ``` 4. **-f** The choose file option This command allow you to choose a single file to monitoring ```sh $ log_view <project_name> -f <file name> ``` You can write any single parts of file's name. Like this exemple: ```yaml project_name1: user: a password: b servers: - test-server1 - test-server2 files: - test-file1 - test-file2 ``` ```sh $ log_view project_name1 -f file1 ``` ======= log_view ======== >>>>>>> f7da612371f38d46e79db3255d6abb820142e5ae
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
log_view-0.1.0 | README.md |