Commands

Logging

Warnings and other diagnostics are logged to stderr, one line per record: time LEVEL module: message. The time is ISO 8601 local time with its UTC offset, to the second. For example:

2026-10-01T14:03:07+02:00 INFO image_review.server: 10.1.2.3 GET /image 200

Put the option before the command, e.g. image-review -q status:

Option

Shows

(default)

INFO and up

-q, --quiet

Only warnings and errors

-v, --verbose

Debug messages too (currently few: the work directory opened, and why a browser could not be chosen or opened)

-q and -v together are a usage error (exit 2).

Errors and warnings cover:

  • ERROR: a server request failed with a 500.

  • WARNING:

    • an input skipped by preprocess;

    • a torn last line of review.tsv;

    • a world-accessible work directory;

    • a new file whose directory could not be synced to disk;

    • a server connection that failed, or that was refused because the connection limit was reached;

    • export --allow-live overriding a held lock;

    • an export --output or --report file that could not be given the work directory’s group.

Only review, serve and export log at INFO. review and serve log one line per request, with the peer address, method, path without its query string, and status. export logs one line with the count of allowlisted and reported files.

During preprocess, log lines appear above the progress bars instead of through them.

The server never logs tokens or image identities. The security model lists exactly what is and is not logged.

Output streams

Logging is separate from command output. Command output is plain text on stdout: the preprocess summary, the status tables, export’s allowlist TSV, and the connection instructions of review and serve. Error messages of failed commands (Error: ...) go to stderr, with exit 1 or 2.