Send Mac Log to Log File


(Kevin Kleinfelter) #1

I’d like to specify a log file for syncthing-macos.

I’m running with auto-start enabled by syncthing-macos. That means /Applications/Syncthing.app is getting run when I login.

I see that I should specify a “-logfile=filename” on the command line, but “Start at login” is just a checkbox in syncthing-macos.

I could use the “syncthing” binary (and launch it with a .plist from LaunchAgents), instead of Syncthing.app, but then I’d lose the menu bar icon.

How can I specify a command line argument for auto-starting syncthing without losing the syncthing-macos menu bar icon?