Skip to content

Commit

Permalink
Demote logging of normal snapshot generation from Info to Debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-utkin committed Dec 11, 2024
1 parent 4967932 commit 51b2f86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ void recorder::run()
bc_log(Error, "Failed while feeding snapshot saver with more frames");
stop_snapshot();
} else if (ret > 0) {
bc_log(Info, "Still need to feed more frames to finish snapshot");
bc_log(Debug, "Still need to feed more frames to finish snapshot");
} else {
bc_log(Info, "Finalized snapshot");
bc_log(Debug, "Finalized snapshot");
stop_snapshot();
snapshots_done++;
event_trigger_notifications(current_event);
Expand All @@ -123,7 +123,7 @@ void recorder::run()
+ (snapshotting_delay_since_motion_start_ms/1000))) {

stop_snapshot();
bc_log(Info, "Making a snapshot");
bc_log(Debug, "Making a snapshot");

// Push frames to decoder until picture is taken
// In some cases one AVPacket marked as keyframe is not enough, and next
Expand All @@ -141,9 +141,9 @@ void recorder::run()
bc_log(Error, "Failed to make snapshot");
stop_snapshot();
} else if (ret > 0) {
bc_log(Info, "Need to feed more frames to finish snapshot");
bc_log(Debug, "Need to feed more frames to finish snapshot");
} else {
bc_log(Info, "Saved snapshot from single keyframe");
bc_log(Debug, "Saved snapshot from single keyframe");
snapshots_done++;
stop_snapshot();
event_trigger_notifications(current_event);
Expand Down

0 comments on commit 51b2f86

Please sign in to comment.