Changes in v2: - fixed fflush() call These patches add support for logging to a specified file, in addition to the standard output and system log. This is useful when ptp4l or phc2sys is started in such a way which doesn't allow the standard output to be redirected to a separate file (e.g. systemd).
Miroslav Lichvar (3): Add printing to log file. ptp4l: Add option to specify log file. phc2sys: Add option to specify log file. config.c | 1 + phc2sys.8 | 7 +++++-- phc2sys.c | 9 +++++++-- print.c | 22 ++++++++++++++++++++++ print.h | 1 + ptp4l.8 | 8 ++++++-- ptp4l.c | 1 + 7 files changed, 43 insertions(+), 6 deletions(-) -- 2.9.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel