Explorar el Código

Doc: Add back --logfile, as it still exists

Daniel Molkentin hace 12 años
padre
commit
6d847cd5f9
Se han modificado 2 ficheros con 10 adiciones y 5 borrados
  1. 3 1
      doc/options.rst
  2. 7 4
      doc/troubleshooting.rst

+ 3 - 1
doc/options.rst

@@ -3,6 +3,9 @@ ownCloud Client supports the following command line switches:
 ``--logwindow``
         open a window to show log output at startup.
 
+``--logfile`` `<file>`
+        write log output to a single file
+
 ``--logdir`` `<dir>`
         write log output to dir, one for each sync run.
 
@@ -12,4 +15,3 @@ ownCloud Client supports the following command line switches:
 ``--monoicons``
         Use black/white pictograms for systray.
 
-

+ 7 - 4
doc/troubleshooting.rst

@@ -61,20 +61,23 @@ It is also possible to directly log to a directory, which is an useful option
 in case the problem only happens ocassionally. In that case it is better to
 create a huge amount of data, as the log window has a limited buffer.
 
-To write logs to disk, start the client with ``--logdir <dir>``, where ``<dir>``
-is an existing directory. Each sync run will create a new file.
+To write logs to disk, start the client with ``--logfile <file>``, where
+``<file`` is the file you want to log to, or ``--logdir <dir>``, where ``<dir>``
+is an existing directory. In case of ``--logdir``, each sync run will create a
+new file.
 
 :ownCloud server Logfile:
 The ownCloud server maintains an ownCloud specific logfile as well. It can and
 must be enabled through the ownCloud Administration page. There you can adjust
-the loglevel. It is advisable to set it to a verbose level like ``Debug`` or ``Info``.
+the loglevel. It is advisable to set it to a verbose level like ``Debug`` or
+``Info``.
   
 The logfile can be viewed either in the web interface or can be found in the
 filesystem in the ownCloud server data dir.
 
 :Webserver Logfiles:
 Also, please take a look at your webservers error log file to check if there
-are problems. For apache on linux, the error logs usually can be found at
+are problems. For Apache on Linux, the error logs usually can be found at
 ``/var/log/apache2``. A file called ``error_log`` shows errors like PHP code
 problems. A file called ``access_log`` usually records all requests handled
 by the server. Especially the access_log is a very good debugging tool as the