Motion - Feature Request 2005x 05x 31x 083439

Feature Request: better sysloging


add the line

 openlog("motion", LOG_PID | LOG_NDELAY, LOG_DAEMON);

( works well in motion.c in function motion_loop(), right before the first call to syslog );

-- EvilPete - 31 May 2005

Follow up


What does this code line do?

-- KennethLavrsen - 02 Jun 2005

lines in the log files will have the pid of the reporting process, make reading og the lines easier.

-- EvilPete - 06 Jun 2005

I have decided that this is not worth doing and openlog can have thread safety issues on top of it.

-- KennethLavrsen - 02 Aug 2005
Topic revision: r4 - 02 Aug 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.