Replies: 2 comments
-
I hate drop-downs. The actual 'base version' is motion Version 4.5.1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Changing to enhancement request. This is how the application has always handled configuration options. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.0.x
What was the install method?
Installed via package tool
What is base architecture?
ARM-32bit
What is the distro being used?
Debian
Disto version number
motion Version 4.5.1 Devuan GNU/Linux 4 (chimaera) ID_LIKE=debian
Camera type(s) being used?
v4l2 USB camera, Network camera with RTSP, Network camera with HTTP
Describe the issue/problem and steps to reproduce
Invalid configuration options (in e.g motion.conf and/or camera.*.conf) result in an error message which is generated BEFORE the logfile is initiated. They will show up in the initialization output but are not logged.
Additionally, if the motion process is SIGHUP'd for a configuration reload, there is NO mention of the invalid configuration option.
I would suggest that any error messages generated before the logfile is initialized be saved (as an environmental?) and added to the logfile once it is opened.
As to why a configuration reload (SIGHUP) does not generate a log entry is left to the developer(s) :-)
thanx.
===
dog@motion:/etc/motion$ sudo -u motion motion -b -d 9
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera.w5.conf
[0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "an_invalid_otion"
[0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera.w6.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion.log)
dog@motion:/etc/motion$
[ an 'an_invalid_option' is my inserion of a 'bad' option. :-) ]
===
Motion log output at log_level 8
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera.w5.conf [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "an_invalid_otion" [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera.w6.conf [0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion.log)
Beta Was this translation helpful? Give feedback.
All reactions