Simple Question About Log Files Location


Recommended Posts



With btsync 2.2 (100) -- on Ubuntu 14.04 -- I notice that when I run

btsync --config $conf --nodaemon --log sync.log

then file sync.log is either in the current directory (if I am logged in a terminal) or the home directory of the user who runs the command (upstart script): the file is not in ${storage_path}/sync.log.


Is there a way to have the log in ${storage_path} automatically (other than giving the absolute path to the file as an argument to --log) ?


Link to post
Share on other sites

Uh.. tried that?

btsync --config $conf --nodaemon --log ${storage_path}/sync.log

I mean you must have a script that calls that and in that script ${storage_path} should be defined as a path.

And you edit the line that actually calls the btsync binary with the line I posted above.

Link to post
Share on other sites

Of course (I said "other than giving the absolute path"), but with bsync 2.1.4 it was different:

if btsync was started with --nodaemon --log sync.log, sync.log was created in ${storage_path},

not the current directory.


I used that in a simple upstart script, and there was no need to parse $conf to extract storage_path.

Something has changed in 2.2

Link to post
Share on other sites


This topic is now archived and is closed to further replies.