Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Dropbox is currently running well on Ubuntu server 10.04. How can I setup dropbox to log any sync in syslog or even separate log file?

share|improve this question

You can get some kind of logging by listening to .dropbox/iface_socket. Where .dropbox is the default folder of the dropbox daemon (not client). iface_socket is what the client (open source) and the server (closed source) uses to communicate. Note than I talking about the local client (cli, nautilus-plugin, etc) and local server, not the one that is run on the net by Dropbox.

You can find a ruby script to read this socket here, but I was not able to check it.

I'm not sure if this will give you the info that you want, but this is the best that I can think of short of making a feature request to the dropbox developers.

share|improve this answer
Capturing data from socket will not do the trick, because service data being transferred continuously, without actual syncing. – Pablo Mar 7 '12 at 8:15
Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: – dlo Apr 5 '15 at 17:07

Now I understand the question properly, I think you should be using rsync to do your syncing (and produce proper log files) rather than Dropbox. It's unusual to use dropbox on a server...

share|improve this answer
I want dropbox to write in log file. – Pablo Mar 6 '12 at 17:11
I don't think dropbox gives the facility. I think you should really be using rsync, as it's a proper CLI program with the same functionality. (and more) – ty382 Mar 6 '12 at 17:14
I am using rsync wherever it's possible. The question was very clear. – Pablo Mar 6 '12 at 17:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.