[Zope] Getting Zope code to output to event.log
Ken Winter
ken at sunward.org
Mon Aug 10 13:29:48 EDT 2009
I do have write access to the Zope files I'm =editing, as I can see the
updated timestamp change when I save them.
However, I do notice that there are NO .pyc files in the directories that
contain the files that I am editing. I'm way out of my depth here: Does the
lack of .pyc files mean that the .py files here are not the ones being
compiled/executed?
~ Tx Ken
> -----Original Message-----
> From: Andrew Milton [mailto:akm at theinternet.com.au]
> Sent: Monday, August 10, 2009 1:09 PM
> To: Ken Winter
> Cc: 'Zope List'
> Subject: Re: [Zope] Getting Zope code to output to event.log
>
> +-------[ Ken Winter ]----------------------
> | Andrew & Chris ~
> |
> | Thanks, but it still doesn't work for me. See details of what happened
> when
> | I tried each of your suggestions below.
>
> [snip]
>
> | >
> | > You can also try changing logger.info to logger.warn or logger.error
> | >
> |
> | Next, I tried logger.warn, and restarted Zope.
> |
> | No change.
>
> I would suggest then that your zope user does not have write access to
> the OFS directory (or the files), and cannot create new .pyc files and
> is using the existing ones (without the logging).
>
> Or that you are not changing the code that is being executed...
>
> --
> Andrew Milton
> akm at theinternet.com.au
More information about the Zope
mailing list