Skip to content

High Score logging output #216

@AmishAssassin

Description

@AmishAssassin

Bug/Issue Description:
Run with --quiet ... still get "event %d high score" output ...

Run with -verbosity error ... still get "event %d high score" output ...

Run with both ... same result ... should be able to suppress this output ...

Required Information:

Provide a full copy of the command line options you are using, and add --verbosity debug, for example:

dvr-scan -i fullDay.mkv --logfile dvrlog.txt -m copy -q -so -df 3 -tb 6s -l 5 -tp 4s -t .17 -fs 2

dvr-scan -i fullDay.mkv --logfile dvrlog.txt -m copy -v error -so -df 3 -tb 6s -l 5 -tp 4s -t .17 -fs 2

Results in journal filling up with:

Apr 11 16:52:12 ip-10-0-38-132 motion.sh[397966]: event 1 high score 250.981315
Apr 11 16:52:12 ip-10-0-38-132 motion.sh[397966]: event 1 high score 250.981315
Apr 11 16:52:16 ip-10-0-38-132 motion.sh[397966]: event 1 high score 250.981315
Apr 11 16:52:17 ip-10-0-38-132 motion.sh[397962]: event 1 high score 250.938151
Apr 11 16:52:19 ip-10-0-38-132 motion.sh[397964]: event 1 high score 251.411849
Apr 11 16:52:20 ip-10-0-38-132 motion.sh[397966]: event 1 high score 250.981315

Expected Behavior:
Expected that --quiet or -verbosity error would suppress these info messages

Computing Environment:

  • OS: Ubuntu 24
  • Python Version: 3.12.2
  • OpenCV Version: Using FFMPEG mode ... 7.1.1

Additional Information:

Reviewed the python code and can see these events are constrained to log.debug ... so confused why this output isn't suppressed with the settings above ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions