Skip to content

Comma-separated timecode values missing from log files #265

@wemily

Description

@wemily

Log files all end with these two lines

[DVR-Scan] Comma-separated timecode values:
[DVR-Scan] Motion events written to disk.

But the comma-separated values themselves are not written to the log. From a quick look, this is because of the quiet mode logic, which bypasses the logger and prints the comma-separated values to stdout.

logger.info("Comma-separated timecode values:")
# Print values regardless of quiet mode or not.
# TODO(#78): Fix this output format to be more usable, in the form:
# start1-end1[,[+]start2-end2[,[+]start3-end3...]]
print(",".join(timecode_list))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions