summaryrefslogtreecommitdiffstats
path: root/tools/log_splitter/README.md
blob: e44aaecd391c009c47be1f5934eb173a5f41d107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# log_splitter
Tool to split glusto logs to individual testcase logs.

## Prerequisites
Python 3.x

## Installation
1. Change directory to the project directory.

```
# cd tools/log_splitter
```

2. Now run the installation script.

```
# python3 setup.py install
```

3. To check run:

```
# log_splitter --help
```

## Usage
Just pass glusto_test.log file to the script as shown below:

```
# log_splitter -f glusto_test.log
```

**Note**:
The default destination directory is `.` (present dir) `-d` or `--dist-dir` option.

## Licence
[GPLv3](https://github.com/gluster/glusto-tests/blob/master/LICENSE)