Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59973 - EVENT_LOG_FILE in /etc/conf.d/zope-instance is ignored by zope 2.7.2
Summary: EVENT_LOG_FILE in /etc/conf.d/zope-instance is ignored by zope 2.7.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 11:44 UTC by Jeremy
Modified: 2004-09-20 04:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy 2004-08-10 11:44:27 UTC
I created a new zope instance called zope-fatfree. The file /etc/conf.d/zope-fatfree created in this process seems to be getting ignored. The EVENT_LOG_FILE value in that file is not being used. Instead, the log file gets created in INSTANCE_HOME/log/event.log which is specified in INSTANCE_HOME/etc/zope.conf with the entry:

<eventlog>
  level all
  <logfile>
    path $INSTANCE/log/event.log
    level info
  </logfile>
</eventlog>

It is stated in the comments of INSTANCE_HOME/etc/zope.conf that the default bahavior is to put it in INSTANCE_HOME so perhaps the EVENT_LOG_FILE entry in /etc/conf.d/zope-fatfree should be removed. I am unaware of any order of precedence regarding these two configuration files.

My expectations are based on the way 2.6.4 handled this so perhaps it's just a remnant of the old style config?

Reproducible: Always
Steps to Reproduce:
Comment 1 schaedpq 2004-08-10 14:36:08 UTC
AFAIK: It is not a bug, it is a feature. ;-) There are a number of environment variables which are not honored by Zope 2.7 anymore. Please correct me if I am wrong, but I think you should use only the INSTANCE_HOME/etc/zope.conf for configuration because all/some (?) of the variables formerly set in /etc/conf.d/zope-instance are deprecated. AFAIR. :-)
Comment 2 Jodok Batlogg (RETIRED) gentoo-dev 2004-09-20 04:15:16 UTC
removed EVENT_LOG_FILE, it's not needed for z2.7 because we create symlinks