Re: ~/unison.log created despite options to the contrary
Adrian Klaver <adrian.klaver <at> gmail.com>
2012-03-01 21:16:26 GMT
On Thursday, March 01, 2012 12:39:45 pm David J. Haines wrote:
> Hi all,
>
> I'm using unison 2.40.63 on an Arch Linux "client" and a Mac OS X 10.6
> "server" via the following command line in a crontab:
>
> /usr/bin/unison -batch -silent -log=false -logfile
> /home/dhaines/.unison/logfile -servercmd /opt/local/bin/unison $HOME/Sync
> ssh://<OSX Host>/Sync
>
> Oftentimes while syncing, I get the "Fatal Error Lost connection with the
> server" error, which I understand is related to ssh timeouts. Though that
> is a problem (and I'd gladly accept any help people are willing to give on
> it), my biggest issue is that said Fatal Error keeps appearing in
> "unison.log" in my $HOME, despite my use of the -silent, -log=false, AND
> -logfile /home/dhaines/.unison/logfile options.
>
> Really, I'm willing to put up with the Fatal Error business, but not
> being able to direct the logfile elsewhere is driving me mad. Does
> anyone have any suggestions?
Eliminate the -log=false . The -logfile switch should be enough to redirect your
messages:
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-
manual.html#prefs
"
logfile xxx
By default, logging messages will be appended to the file unison.log in your HOME
directory. Set this preference if you prefer another file.
"
>
> Thanks,
--
Adrian Klaver
adrian.klaver <at> gmail.com
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/unison-users/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/unison-users/join
(Yahoo! ID required)
<*> To change settings via email:
unison-users-digest <at> yahoogroups.com
unison-users-fullfeatured <at> yahoogroups.com
<*> To unsubscribe from this group, send an email to:
unison-users-unsubscribe <at> yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/