> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging

#### Verbosity Level

More informative messages about the runtime of your notebook can be controlled using the **--verbosity** **(-v)** flag,  followed by a single space and the verbosity level you require. By default, the program will run with a verbosity level of 1 if it is not specified.

Verbosity levels are as follows:

* 0 - <span style={{color: 'tomato'}}>Errors</span> only
* 1 - <span style={{color: 'tomato'}}>Errors</span> and <span style={{color: 'gold'}}>Warnings</span> (Default Value)
* 2 - <span style={{color: 'tomato'}}>Errors</span>, <span style={{color: 'gold'}}>Warnings</span>, and <span style={{color: 'springgreen'}}>Runtime Information</span>

##### Example Usage

```bash theme={null}
ntopcl -v 2 SampleFile.ntop
```

or

```bash theme={null}
ntopcl --verbosity 2 SampleFile.ntop
```

#### Log File

The contents that are logged in the command prompt can be output to a log file by using the **--logfile** flag, optionally followed by = and a path where you want the logs to be saved. If no path is supplied, it will save the logs to the working directory as 'ntopcl.log'.

##### Example Usage

```bash theme={null}
ntopcl --logfile=LogFile.txt SampleFile.ntop
```
