sstream-mirror --log-file option seems to do nothing

Bug #1699593 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simplestreams
Incomplete
Undecided
Unassigned

Bug Description

according to the help output (there is no manpage for sstream-mirror), --log-file should, as far as I can tell, create an output log.

Thus this:

sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
        --max=1 --log-file $CLOUD_MIRROR/cloud-mirror.log \
        http://cloud-images.ubuntu.com/daily/ $CLOUD_MIRROR "arch~($arches)" \
        "release~($target_releases)"

creates a file called cloud-mirror.log, however, that file is empty:

root@ubuntu-8gb-nyc3-01:/srv/cloud# ll
total 20
drwxr-xr-x 5 root root 4096 Jun 21 20:14 ./
drwxr-xr-x 3 root root 4096 Jun 21 20:12 ../
-rw-r--r-- 1 root root 0 Jun 21 20:14 cloud-mirror.log
drwxr-xr-x 2 root root 4096 Jun 21 20:16 .data/
drwxr-xr-x 3 root root 4096 Jun 21 20:14 server/
drwxr-xr-x 3 root root 4096 Jun 21 20:14 streams/

so log-file doesn't seem to actually do anything but open an empty log-file.

Revision history for this message
Scott Moser (smoser) wrote :

it writes to the log at the configured log value.
Add a '-v' and you'll get something there.
its admittedly not a lot.

Changed in simplestreams:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.