From e3e333a8834473d82403b54c7c26d4abc7d63728 Mon Sep 17 00:00:00 2001 From: j-ed Date: Mon, 26 Aug 2013 10:40:46 +0200 Subject: [PATCH 1/3] added description for "logdateformat" parameter --- admin_manual/configuration/configuration_logging.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin_manual/configuration/configuration_logging.rst b/admin_manual/configuration/configuration_logging.rst index aadea43c6..47e007744 100644 --- a/admin_manual/configuration/configuration_logging.rst +++ b/admin_manual/configuration/configuration_logging.rst @@ -30,6 +30,12 @@ viewed using the log menu in the admin menu of ownCloud. By default a log file named **owncloud.log** will be created in the directory which has been configured by the **datadirectory** parameter. +The desired date format can optionally be defined using the **logdateformat**. +By default the PHP date parameter "*c*" is used and therefore the date/time +is written in the format "*2013-01-10T15:20:25+02:00*". By using the date +format in the example the date/time format will be written in the format +"*January 10, 2013 15:20:25*". + .. code-block:: php "owncloud", "logfile" => "owncloud.log", "loglevel" => "3", + "logdateformat" => "F d, Y H:i:s" syslog ~~~~~~ From 62b3883c9bd219b133beabf0f0f420fff14d0cd2 Mon Sep 17 00:00:00 2001 From: j-ed Date: Mon, 26 Aug 2013 10:41:26 +0200 Subject: [PATCH 2/3] Update configuration_logging.rst --- admin_manual/configuration/configuration_logging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration/configuration_logging.rst b/admin_manual/configuration/configuration_logging.rst index 47e007744..d95102704 100644 --- a/admin_manual/configuration/configuration_logging.rst +++ b/admin_manual/configuration/configuration_logging.rst @@ -43,7 +43,7 @@ format in the example the date/time format will be written in the format "log_type" => "owncloud", "logfile" => "owncloud.log", "loglevel" => "3", - "logdateformat" => "F d, Y H:i:s" + "logdateformat" => "F d, Y H:i:s", syslog ~~~~~~ From fd5fa834d84edf851b9c787e98c85e02bcca8dd6 Mon Sep 17 00:00:00 2001 From: j-ed Date: Mon, 26 Aug 2013 11:07:02 +0200 Subject: [PATCH 3/3] added link to PHP date function. --- admin_manual/configuration/configuration_logging.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/admin_manual/configuration/configuration_logging.rst b/admin_manual/configuration/configuration_logging.rst index d95102704..1d75808a0 100644 --- a/admin_manual/configuration/configuration_logging.rst +++ b/admin_manual/configuration/configuration_logging.rst @@ -31,9 +31,9 @@ file named **owncloud.log** will be created in the directory which has been configured by the **datadirectory** parameter. The desired date format can optionally be defined using the **logdateformat**. -By default the PHP date parameter "*c*" is used and therefore the date/time -is written in the format "*2013-01-10T15:20:25+02:00*". By using the date -format in the example the date/time format will be written in the format +By default the `PHP date function`_ parameter "*c*" is used and therefore the +date/time is written in the format "*2013-01-10T15:20:25+02:00*". By using the +date format in the example the date/time format will be written in the format "*January 10, 2013 15:20:25*". .. code-block:: php @@ -57,3 +57,6 @@ All log information will be send to the default syslog deamon of a system. "logfile" => "", "loglevel" => "3", + +.. _PHP date function: http://www.php.net/manual/en/function.date.php +