Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The -logfile flag is no longer accepted #3931

Closed
potentcocktail opened this issue Jan 25, 2017 · 1 comment
Closed

The -logfile flag is no longer accepted #3931

potentcocktail opened this issue Jan 25, 2017 · 1 comment
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Comments

@potentcocktail
Copy link

After updating Debian to Syncthing v0.14.20 "Dysprosium Dragonfly" (go1.8rc2 linux-386) jenkins@build.syncthing.net 2017-01-24 08:26:45 UTC

i can no longer start syncthing using the -logfile option. I am not using it in conjunction with -no-restart or STNORESTART. Here is the complete output:

andy@smallfry:~$ syncthing -logfile=/tmp/syncthing.log
[monitor] 18:26:16 INFO: Log output saved to file "/tmp/syncthing.log"
[monitor] 18:26:16 INFO: Starting syncthing
18:26:16 FATAL: -logfile may not be used with -no-restart or STNORESTART
[monitor] 18:26:16 INFO: Syncthing exited: exit status 1
[monitor] 18:26:17 INFO: Starting syncthing
18:26:17 FATAL: -logfile may not be used with -no-restart or STNORESTART
[monitor] 18:26:17 INFO: Syncthing exited: exit status 1
[monitor] 18:26:18 INFO: Starting syncthing
18:26:18 FATAL: -logfile may not be used with -no-restart or STNORESTART
[monitor] 18:26:18 INFO: Syncthing exited: exit status 1
[monitor] 18:26:19 INFO: Starting syncthing
18:26:19 FATAL: -logfile may not be used with -no-restart or STNORESTART
[monitor] 18:26:19 INFO: Syncthing exited: exit status 1
[monitor] 18:26:20 WARNING: 4 restarts in 4.152652841s; not retrying further

Version Information

Syncthing Version: v0.14.20 "Dysprosium Dragonfly" (go1.8rc2 linux-386) jenkins@build.syncthing.net 2017-01-24 08:26:45 UTC
OS Version: Debian 8.7
Browser Version: N/A

@calmh
Copy link
Member

calmh commented Jan 25, 2017

Yeah, looks like we broke -logfile in .20. Sorry about that.

@calmh calmh added the bug A problem with current functionality, as opposed to missing functionality (enhancement) label Jan 25, 2017
@calmh calmh changed the title Can't start syncthing. The -logfile flag is no longer accepted Jan 25, 2017
@calmh calmh added this to the Planned milestone Jan 25, 2017
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jan 26, 2018
@syncthing syncthing locked and limited conversation to collaborators Jan 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug A problem with current functionality, as opposed to missing functionality (enhancement) frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

No branches or pull requests

3 participants