The syslog-ng application has been resurrected on macOS by our developer team. We hope our product can be useful for Mac users who want to increase the security of their system through reliable logging.

At present we are not supporting macOS syslog-ng on our official repository on GitHub. However, you can compile syslog-ng yourself following this guide.

Compiling from source

Like every project syslog-ng also uses different libraries and build-systems that must be installed for compiling and running properly. These dependencies can be satisfied by compiling every-each libs and tools manually, but it might be preferred to do it the easy way. Homebrew is a package manager for macOS that has great community and support. You can also use it to install the dependencies you need.


  1. Install Homebrew on your system.
  2. Perform brew update if you have not done it yet.
  3. The following packages should be installed for syslog-ng:
    • automake
    • autoconf
    • binutils
    • glib
    • autoconf-archive
    • flex
    • bison
    • libtool
    • pkg-config
    • ivykis
    • openssl
    • pcre
/usr/bin/ruby -e "$(curl -fsSL"

brew update
brew install \
    automake \
    autoconf \
    binutils \
    glib \
    autoconf-archive \
    flex \
    bison \
    libtool \
    pkg-config \
    ivykis \
    openssl \

Note: bison is required to be installed when using homebrew, because the options provided by Apple Developer Tools are incomplete. (for example: missing -W option) The reason is why bison is required to be installed from homebrew is that the -W option is supported only after 2.3.


  1. Force the building process to use bison installed through homebrew instead of provided by Apple Developer Tools.
    • Option 1: add bison to $PATH
    • Option 2: when configuring set the environmental variable $YACC to bison
  2. Extend the search path of pkg-config.
export PATH=/usr/local/opt/bison/bin:$PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig


./configure --with-ivykis=system

For a minimal featureset:

./configure --with-ivykis=system --disable-amqp --disable-mongodb --disable-riemann --disable-java --disable-python

Compile and install

make -j4
make install

Optionally, you can specify the install prefix passing --prefix /example/installdir/ to the configure script.

Note: for options and more information, read the compile first guide.


In order to run the tests, you have to install the Criterion testing framework (for example: brew install snaipe/soft/criterion). Then use the command below:

make check -j4

Note: for more read compile first guide.


./syslog-ng -F

Note: for more information read the run first guide.

Note: for more information read the syslog-ng documentation

results matching ""

    No results matching ""