Syslog NG - MacOS Testing
  • GSOC - Project Report
  • Testing Methodology
  • Testing Status
  • Installation
  • Modules
    • afsocket [17]
      • network() Source Driver
      • network() Destination Driver
      • syslog() Source/Destination Driver
      • unix-stream() Source Driver
      • unix-stream() Destination Driver
      • unix-dgram() Source/Destination Driver
      • TLS-Encryption
        • Using network()
        • Using syslog()
    • affile [6]
      • file() Source Driver
      • file() Destination Driver
      • pipe() Source Driver
      • pipe() Destination Driver
      • wildcard_file() Source Driver
      • stdin() Source Driver
    • afprog [2]
      • program() Source Driver
      • program() Destination Driver
    • system [1]
      • Collecting local logs pre macOS 10.15 Catalina
    • afuser [1]
    • pseudofile [1]
    • mod-python [7]
      • python() Source Driver
      • python-fetcher() Source Driver
      • python() Destination Driver*
    • afmongodb [1]
    • http [1]
    • riemann [1]
    • redis [1]
    • elasticsearch-http [1]
    • afsql [1]
    • afsmtp [1]
Powered by GitBook
On this page
  • Status
  • Testing
  • Proof

Was this helpful?

  1. Modules

pseudofile [1]

The pseudofile() destination driver is a very simple driver, aimed at delivering messages to special files. It opens and closes the file after each write operation, instead of keeping it open.

Status

Architecture

Status

x86

Works

ARM

Works

Testing

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

Note: The pseudofile() driver does not support templates in the filename.

Configuration file used

@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

Previousafuser [1]Nextmod-python [7]

Last updated 3 years ago

Was this helpful?

pseudofile() driver tested on macOS (x86)
pseudofile() driver tested on macOS (ARM)