# pseudofile \[1]

### Status

| Architecture | Status |
| :----------: | :----: |
|      x86     |  Works |
|      ARM     |  Works |

### Testing <a href="#testing" id="testing"></a>

The pseudofile() driver has a single required argument, specifying a filename, that is, the file to write messages to, including the path.

{% hint style="info" %}
Note: The pseudofile() driver does not support templates in the filename.
{% endhint %}

#### Configuration file used <a href="#configuration-file-used" id="configuration-file-used"></a>

```
@version: 3.33
@include "scl.conf"

source custom
{
    example-msg-generator(
        num(20)
        freq(5)
        template("Message to Terminal using Pseudofile")
    );
};

destination d_pseudofile { 
    pseudofile("/dev/stdout" template("${ISODATE} ${HOST} ${MESSAGE}\n"));
};


log {
    source(custom);
    destination(d_pseudofile);
};

```

### Proof

![pseudofile() driver tested on macOS (x86)](https://3267548193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaZdBoDvCx_0JwOUICk%2F-Mh9srx0gkn4_SK7pzMB%2F-Mh9vinwbkSjVuD7pktc%2FScreenshot%202021-08-15%20at%208.43.44%20PM.png?alt=media\&token=23eb4c27-8f40-484c-a30a-57cbeeebf2e4)

![pseudofile() driver tested on macOS (ARM)](https://3267548193-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaZdBoDvCx_0JwOUICk%2F-Mh9srx0gkn4_SK7pzMB%2F-Mh9vpsTbxwgIz1Q_svy%2FScreen%20Shot%202021-08-15%20at%208.45.09%20PM.png?alt=media\&token=88898689-1b40-49f1-a4f7-2fc04afb2a31)
