Skip to content

[feature] filen-cli doesn't log anything if run from a non-interactive terminal #233

Open
@hartmark

Description

related to #230

filen-cli doesn't seem to output anything if run from a non-interactive terminal for example scripts or services.

This is a output from when I ran a sync to s3 using rclone:

Nov 17 01:03:22 staropramen borg.sh[86104]: INFO  : integrity.16441: Copied (new)
Nov 17 01:03:22 staropramen borg.sh[86104]: INFO  : nonce: Copied (replaced existing)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : hints.16441: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16435: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16436: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16437: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16438: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16439: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16440: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16441: Copied (new)
Nov 17 01:03:23 staropramen borg.sh[86104]: INFO  : data/16/16434: Copied (new)
Nov 17 01:03:24 staropramen borg.sh[86104]: INFO  : index.16441: Copied (new)
Nov 17 01:04:18 staropramen borg.sh[86104]: INFO  : hints.16433: Deleted
Nov 17 01:04:18 staropramen borg.sh[86104]: INFO  : integrity.16433: Deleted
Nov 17 01:04:18 staropramen borg.sh[86104]: INFO  : index.16433: Deleted
Nov 17 01:04:18 staropramen borg.sh[86104]: INFO  :
Nov 17 01:04:18 staropramen borg.sh[86104]: Transferred:              58.127 MiB / 58.127 MiB, 100%, 300.217 KiB/s, ETA 0s
Nov 17 01:04:18 staropramen borg.sh[86104]: Checks:             12952 / 12952, 100%
Nov 17 01:04:18 staropramen borg.sh[86104]: Deleted:                3 (files), 0 (dirs), 57.358 MiB (freed)
Nov 17 01:04:18 staropramen borg.sh[86104]: Transferred:           12 / 12, 100%
Nov 17 01:04:18 staropramen borg.sh[86104]: Elapsed time:        55.8s
Nov 17 01:04:18 staropramen systemd[1]: borg-backup.service: Deactivated successfully.

Compared from when I ran using filen-cli:

Dec 19 01:14:11 staropramen borg.sh[1914289]: Syncing /data/backup/borg to /backup/borg (localToCloud)...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions