Skip to content

Commit

Permalink
add doc for --log-file
Browse files Browse the repository at this point in the history
  • Loading branch information
benmalef committed Nov 10, 2024
1 parent c6d178f commit 415e9e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ To split the data CSV into training, validation, and testing CSVs, the `gandlf s
-o $output_dir # the output directory to save the split data
```

### Using the `--log-file` parameter
By default, only the `info` and `error` logs will be **displayed** in the console and
the log file will be **saved** in `$(home)/.gandlf/<timestamp>.log`.

Also, you can use the `--log-file` and provide the file that you want to save the logs
```bash
(venv_gandlf) $> gandlf <command> --log-file <log_file_path>
```

## Customize the Training

Expand Down

0 comments on commit 415e9e2

Please sign in to comment.