Disable ZM log in /var/log/messages

Support and queries relating to all previous versions of ZoneMinder
Locked
wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

Disable ZM log in /var/log/messages

Post by wolfram »

Hello all,
does anybody know where I can disable the message logging of ZM in /var/log/messages from zm ?
I need to debug another program, and I want to get rid of the following ZM messages, or at least
reduce the amount

..Jun 21 10:30:47 localhost zmc_m1[3775]: INF [Haustuer: 1266000 - Capturing at 38.46 fps]
Jun 21 10:30:48 localhost zma_m1[3781]: INF [Haustuer: 1266000 - Processing at 37.04 fps]
Jun 21 10:31:12 localhost zmc_m1[3775]: INF [Haustuer: 1267000 - Capturing at 40.00 fps]
Jun 21 10:31:14 localhost zma_m1[3781]: INF [Haustuer: 1267000 - Processing at 38.46 fp

Maybe I overlooked it in the options dialog, but there I find only enable debug log.

Cheers Wolfram
wolfram
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Post by PeterHoward »

wolfram
Posts: 29
Joined: Sat Nov 26, 2005 12:36 pm

disable logging completely ?

Post by wolfram »

Hello Peter,
well to redirect is one thing, but can I disable completely the log ?
or can I set some filter what to log ?
Regards Wolfram
wolfram
PeterHoward
Posts: 319
Joined: Thu Jul 20, 2006 1:07 am
Location: Australia

Re: disable logging completely ?

Post by PeterHoward »

wolfram wrote:Hello Peter,
well to redirect is one thing, but can I disable completely the log ?
or can I set some filter what to log ?
Regards Wolfram
Well, as that other thread points out you only have one thing you can filter on.
To get closer to disabling you could redirect to /dev/null :-)

Other than that all I can suggest is rebuilding with the relevant logging compiled out. AFAIK the other logging controls can only add to that logging.

PJH
Locked