:::{note} You are reading the help for the development version. **The current release version is Neırssi 1.3.**
:::

# rawlog

<!-- comment

Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/rawlog.in
- https://github.com/ailin-nemui/irssi/blob/master/src/core/rawlog.c


endcomment -->


## Syntax ##

<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">RAWLOG</span> <span class="synB">SAVE</span> <span class="synB05">&lt;file></span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:11ch"><code><span class="synB">RAWLOG</span> <span class="synB">OPEN</span> <span class="synB05">&lt;file></span></code></pre></div>


<div class="irssisyntax highlight"><pre style="\-\-cmdlen:-2ch"><code><span class="synB">RAWLOG</span> <span class="synB">CLOSE</span></code></pre></div>



## Parameters ##


| | |
| --- | --- |
| `SAVE`: |      Saves the raw server buffer into a file. |
| `OPEN`: |      Opens a log file and start logging all raw data. |
| `CLOSE`: |     Closes the log file |

The filename to store the raw data into.

## Description ##

Saves all the raw data that is received from and transmitted to the active
server into a log file.

## Examples ##

    /RAWLOG SAVE ~/server.log
    /RAWLOG OPEN ~/debug.log
    /RAWLOG CLOSE

## See also ##
[LOG](/documentation/help/log)

