How do I configure Dropbox to log to syslog?












9















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





























    9















    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



























      9












      9








      9


      3






      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
















      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?







      server dropbox syslog






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 6 '12 at 17:42









      Jorge Castro

      36.1k105422617




      36.1k105422617










      asked Mar 6 '12 at 11:06









      PabloPablo

      83241327




      83241327






















          3 Answers
          3






          active

          oldest

          votes


















          2














          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






          • 1





            Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

            – dlo
            Apr 5 '15 at 17:07



















          0














          I came across this post looking for an alternative to show the dropbox log files. I know it's not the same, but I believe it can be useful for troubleshooting. Using the script provided by the dropbox, you can create a script starting on your /etc/rc.local redirecting the output to a specific log file with the following command:



          nohup find $HOME/Dropbox -type f -exec dropbox filestatus -a '{}' ; > /var/log/dropbox.log 2>&1





          share|improve this answer










          New contributor




          Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




























            -2














            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





















            • 2





              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






            • 3





              I am using rsync wherever it's possible. The question was very clear.

              – Pablo
              Mar 6 '12 at 17:40











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f110487%2fhow-do-i-configure-dropbox-to-log-to-syslog%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            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






            • 1





              Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

              – dlo
              Apr 5 '15 at 17:07
















            2














            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






            • 1





              Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

              – dlo
              Apr 5 '15 at 17:07














            2












            2








            2







            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













            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












            share|improve this answer



            share|improve this answer










            answered Mar 7 '12 at 8:01









            Javier RiveraJavier Rivera

            29.8k977101




            29.8k977101













            • 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






            • 1





              Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

              – dlo
              Apr 5 '15 at 17:07



















            • 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






            • 1





              Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

              – dlo
              Apr 5 '15 at 17:07

















            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





            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




            1




            1





            Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

            – dlo
            Apr 5 '15 at 17:07





            Looks like someone made a Ruby script that does more or less does what you're looking for using iface_socket: d.hatena.ne.jp/urekat/20081124/1227498262

            – dlo
            Apr 5 '15 at 17:07













            0














            I came across this post looking for an alternative to show the dropbox log files. I know it's not the same, but I believe it can be useful for troubleshooting. Using the script provided by the dropbox, you can create a script starting on your /etc/rc.local redirecting the output to a specific log file with the following command:



            nohup find $HOME/Dropbox -type f -exec dropbox filestatus -a '{}' ; > /var/log/dropbox.log 2>&1





            share|improve this answer










            New contributor




            Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              I came across this post looking for an alternative to show the dropbox log files. I know it's not the same, but I believe it can be useful for troubleshooting. Using the script provided by the dropbox, you can create a script starting on your /etc/rc.local redirecting the output to a specific log file with the following command:



              nohup find $HOME/Dropbox -type f -exec dropbox filestatus -a '{}' ; > /var/log/dropbox.log 2>&1





              share|improve this answer










              New contributor




              Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                I came across this post looking for an alternative to show the dropbox log files. I know it's not the same, but I believe it can be useful for troubleshooting. Using the script provided by the dropbox, you can create a script starting on your /etc/rc.local redirecting the output to a specific log file with the following command:



                nohup find $HOME/Dropbox -type f -exec dropbox filestatus -a '{}' ; > /var/log/dropbox.log 2>&1





                share|improve this answer










                New contributor




                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I came across this post looking for an alternative to show the dropbox log files. I know it's not the same, but I believe it can be useful for troubleshooting. Using the script provided by the dropbox, you can create a script starting on your /etc/rc.local redirecting the output to a specific log file with the following command:



                nohup find $HOME/Dropbox -type f -exec dropbox filestatus -a '{}' ; > /var/log/dropbox.log 2>&1






                share|improve this answer










                New contributor




                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer








                edited 6 hours ago





















                New contributor




                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 7 hours ago









                Wellington SouzaWellington Souza

                1013




                1013




                New contributor




                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Wellington Souza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                    -2














                    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





















                    • 2





                      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






                    • 3





                      I am using rsync wherever it's possible. The question was very clear.

                      – Pablo
                      Mar 6 '12 at 17:40
















                    -2














                    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





















                    • 2





                      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






                    • 3





                      I am using rsync wherever it's possible. The question was very clear.

                      – Pablo
                      Mar 6 '12 at 17:40














                    -2












                    -2








                    -2







                    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















                    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














                    share|improve this answer



                    share|improve this answer








                    edited Mar 6 '12 at 17:25

























                    answered Mar 6 '12 at 17:04









                    ty382ty382

                    71




                    71








                    • 2





                      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






                    • 3





                      I am using rsync wherever it's possible. The question was very clear.

                      – Pablo
                      Mar 6 '12 at 17:40














                    • 2





                      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






                    • 3





                      I am using rsync wherever it's possible. The question was very clear.

                      – Pablo
                      Mar 6 '12 at 17:40








                    2




                    2





                    I want dropbox to write in log file.

                    – Pablo
                    Mar 6 '12 at 17:11





                    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 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




                    3




                    3





                    I am using rsync wherever it's possible. The question was very clear.

                    – Pablo
                    Mar 6 '12 at 17:40





                    I am using rsync wherever it's possible. The question was very clear.

                    – Pablo
                    Mar 6 '12 at 17:40


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f110487%2fhow-do-i-configure-dropbox-to-log-to-syslog%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    日野市

                    GameSpot

                    Tu-95轟炸機