Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 21:52:33 +0100
From:      kay <>
Subject:   ppp -direct mode and redirect logs to stderr
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi Everyone,

I'd like to run "ppp -direct" as a fork and receive all logs via stderr FD
instead of syslog. How can I achieve this? I'm thinking of using dup2
syscall to replace the `/var/run/logpriv` socket FD, but this would be too

Can I run ppp in interactive mode, configure logging, then switch ppp to
"-direct" mode somehow? Or probably there is a way to force ppp to print
all logs to stderr?

Thanks in advance.

Want to link to this message? Use this URL: <>