[ckan-changes] commit/ckan-debs-public: jame... at okfn.org: Trying a new approach to logging

Bitbucket commits-noreply at bitbucket.org
Wed Jun 22 17:22:53 UTC 2011


1 new changeset in ckan-debs-public:

http://bitbucket.org/okfn/ckan-debs-public/changeset/9961333044f3/
changeset:   9961333044f3
user:        jame... at okfn.org
date:        2011-06-22 19:22:42
summary:     Trying a new approach to logging
affected #:  1 file (15 bytes)

--- a/ckan-common/usr/lib/ckan/common.sh	Wed Jun 22 17:53:11 2011 +0100
+++ b/ckan-common/usr/lib/ckan/common.sh	Wed Jun 22 18:22:42 2011 +0100
@@ -82,7 +82,7 @@
         INSTANCE=$1
         if ! [ -f /etc/ckan/$0/who.ini ] ; then
             cp -n /usr/share/pyshared/ckan/config/who.ini /etc/ckan/${INSTANCE}/who.ini
-            sed -e "s,%%(here)s,/var/lib/ckan/${INSTANCE}," \
+            sed -e "s,ckan.log,/var/log/ckan/${INSTANCE}/${INSTANCE}.log," \
                 -e "s,%(here)s,/var/lib/ckan/${INSTANCE}," \
                 -i /etc/ckan/${INSTANCE}/who.ini
         fi

Repository URL: https://bitbucket.org/okfn/ckan-debs-public/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list