| *** J1m has joined #zope | 00:08 | |
| *** evilbungle has joined #zope | 00:20 | |
| *** J1m has quit IRC | 00:23 | |
| *** crazydiamond has joined #zope | 01:17 | |
| *** evilbungle has quit IRC | 01:39 | |
| *** _mup_ has quit IRC | 02:00 | |
| *** _mup_ has joined #zope | 02:00 | |
| *** J1m has joined #zope | 02:38 | |
| *** River_Rat has joined #zope | 03:38 | |
| *** River-Rat has quit IRC | 03:41 | |
| *** crazydiamond has quit IRC | 04:05 | |
| *** KageSenshi has quit IRC | 04:06 | |
| *** J1m has quit IRC | 04:25 | |
| *** River-Rat has joined #zope | 04:53 | |
| *** River_Rat has quit IRC | 04:55 | |
| *** J1m has joined #zope | 04:58 | |
| *** KageSenshi has joined #zope | 04:58 | |
| *** J1m has quit IRC | 05:04 | |
| *** KageSenshi has quit IRC | 05:41 | |
| *** crazydiamond has joined #zope | 06:13 | |
| *** mr_jolly has quit IRC | 06:17 | |
| *** KageSenshi has joined #zope | 06:42 | |
| *** __mac__ has joined #zope | 07:21 | |
| *** __mac__ has quit IRC | 07:24 | |
| *** zenwryly has quit IRC | 07:32 | |
| *** zenwryly has joined #zope | 07:32 | |
| *** zenwryly has quit IRC | 07:36 | |
| *** zenwryly has joined #zope | 07:38 | |
| *** zenwryly has quit IRC | 07:40 | |
| *** zenwryly has joined #zope | 07:40 | |
| *** zenwryly has quit IRC | 07:43 | |
| *** zenwryly has joined #zope | 07:43 | |
| *** zenwryly has quit IRC | 07:45 | |
| *** zenwryly has joined #zope | 07:46 | |
| *** __mac__ has joined #zope | 07:58 | |
| *** __mac__ has quit IRC | 08:07 | |
| *** mgedmin has quit IRC | 08:35 | |
| *** mgedmin has joined #zope | 08:37 | |
| *** kosh has quit IRC | 08:58 | |
| *** __mac__ has joined #zope | 09:24 | |
| *** tisto has joined #zope | 09:28 | |
| *** MrTango has joined #zope | 09:48 | |
| *** goschtl has joined #zope | 10:04 | |
| *** giacomos has joined #zope | 10:08 | |
| *** yvl has joined #zope | 10:22 | |
| *** avoinea has joined #zope | 10:27 | |
| *** agroszer has joined #zope | 11:02 | |
| *** morphex has quit IRC | 11:05 | |
| *** zagy has joined #zope | 11:14 | |
| *** evilbungle has joined #zope | 11:31 | |
| kiorky | hi 176.9.22.59 seems down causing various buildout problems | 11:34 |
|---|---|---|
| kiorky | someone can fix it ? | 11:34 |
| kiorky | :) | 11:34 |
| *** AnneGilles_ has joined #zope | 11:35 | |
| *** AnneGilles has quit IRC | 11:36 | |
| *** AnneGilles_ is now known as AnneGilles | 11:36 | |
| *** mr_jolly has joined #zope | 11:54 | |
| *** eperez has joined #zope | 12:08 | |
| *** mitchell`off is now known as mitchell` | 12:11 | |
| *** fredvd has joined #zope | 12:20 | |
| *** fredvd has quit IRC | 12:22 | |
| *** __mac__ has quit IRC | 12:22 | |
| *** __mac__ has joined #zope | 12:23 | |
| *** RichyB has joined #zope | 12:30 | |
| *** goschtl has quit IRC | 12:52 | |
| *** goschtl has joined #zope | 12:53 | |
| *** benji has quit IRC | 12:58 | |
| *** __mac__ has quit IRC | 13:02 | |
| *** maurits has joined #zope | 13:03 | |
| *** mgedmin has quit IRC | 13:19 | |
| *** mgedmin has joined #zope | 13:19 | |
| *** fdrake has quit IRC | 13:20 | |
| *** giacomos has quit IRC | 13:23 | |
| *** giacomos has joined #zope | 13:25 | |
| *** __mac__ has joined #zope | 13:33 | |
| *** fredvd has joined #zope | 13:43 | |
| *** tisto is now known as tisto|lunch | 13:56 | |
| *** J1m has joined #zope | 14:03 | |
| _mup_ | Bug #1080662 was filed: Missing version requirement <zope.ramcache:New> < https://launchpad.net/bugs/1080662 > | 14:19 |
| *** maurits has quit IRC | 14:40 | |
| *** J1m has quit IRC | 14:41 | |
| *** goschtl has quit IRC | 14:41 | |
| *** maurits has joined #zope | 15:00 | |
| *** sunew has joined #zope | 15:04 | |
| *** fdrake has joined #zope | 15:06 | |
| *** goschtl has joined #zope | 15:15 | |
| *** RichardB has joined #zope | 15:17 | |
| *** RichyB has quit IRC | 15:20 | |
| *** nande has joined #zope | 15:28 | |
| *** thetet has joined #zope | 15:35 | |
| *** sunew has quit IRC | 15:49 | |
| *** sunew has joined #zope | 15:54 | |
| *** sp0cksbeard has joined #zope | 16:11 | |
| *** fredvd has quit IRC | 16:14 | |
| *** thetet has quit IRC | 16:17 | |
| *** J1m has joined #zope | 16:18 | |
| *** goschtl_ has joined #zope | 16:22 | |
| *** zagy has quit IRC | 16:23 | |
| *** goschtl has quit IRC | 16:24 | |
| *** goschtl_ is now known as goschtl | 16:24 | |
| *** RichardB has quit IRC | 16:36 | |
| *** fredvd has joined #zope | 16:42 | |
| *** leo2007 has joined #zope | 16:57 | |
| *** RichardB has joined #zope | 16:58 | |
| *** sunew has quit IRC | 17:07 | |
| *** RichardB has quit IRC | 17:13 | |
| *** RichardB has joined #zope | 17:13 | |
| *** RichardB has quit IRC | 17:15 | |
| *** kosh has joined #zope | 17:19 | |
| *** fredvd has quit IRC | 17:29 | |
| *** jakke has joined #zope | 17:57 | |
| jakke | can someone give me some pointers how to use the component.xml to add extra loggers to a zope application | 17:57 |
| jakke | I'm kind of lost how to use the sectiontypes and sections | 17:57 |
| jakke | I defined a section for my logger in component.xml, but zope cannot find it, so I must be missing part of the configuration somewhere | 17:58 |
| jakke | or some naming convention or so | 17:58 |
| fdrake | Can't you just use <logger> sections? | 17:59 |
| fdrake | You shouldn't need to touch the schema. | 17:59 |
| jakke | not in the zope.conf, but I might be in the component.xml though | 18:00 |
| jakke | I'll try | 18:00 |
| fdrake | Is this for a Zope 3 app? | 18:00 |
| jakke | sorry, zope..13 | 18:01 |
| jakke | as far as I get it now, I need in my component.xml a <component> <sectiontype> <section type="logger"> nested in that order | 18:02 |
| jakke | just <logger> in component.xml is not recognised | 18:02 |
| *** tisto|lunch is now known as tisto | 18:02 | |
| kosh | hi freaks | 18:03 |
| fdrake | jakke: You should only need to include <logger> sections in your configuration; there shouldn't be any need to touch your schema or any component.xml. | 18:09 |
| *** zenwryly has quit IRC | 18:10 | |
| jakke | if I add <logger someLoggerName> section in the zopeconf, the instance complains it cannot find any sections for someLoggerName | 18:10 |
| *** zenwryly has joined #zope | 18:11 | |
| *** mcdonc has quit IRC | 18:14 | |
| *** mcdonc has joined #zope | 18:14 | |
| fdrake | Hmm. | 18:14 |
| fdrake | Ah. | 18:15 |
| fdrake | <logger> | 18:15 |
| fdrake | name ... | 18:15 |
| fdrake | more settings here | 18:15 |
| fdrake | </logger> | 18:15 |
| fdrake | Should work in all modern Zopes. | 18:15 |
| jakke | Error: no matching section defined for type='logger', name='None' | 18:16 |
| jakke | reading how the access logger was added, I thought it would work that way :s | 18:17 |
| *** tiwula has joined #zope | 18:18 | |
| jakke | and I can see the SectionInfo is not loaded for this logger section, don't understand why so far | 18:18 |
| *** phux has joined #zope | 18:19 | |
| *** supton has joined #zope | 18:22 | |
| fdrake | What version of ZConfig are you using? | 18:23 |
| jakke | 2.9 | 18:25 |
| fdrake | What package is providing the top-level schema? | 18:25 |
| jakke | zope2.13 | 18:26 |
| fdrake | Zope 2 might need to have the schema extended; I'm a little surprised, though. | 18:30 |
| fdrake | Try this in schema.xml: | 18:30 |
| fdrake | <import package="ZConfig.components.logger" /> | 18:30 |
| fdrake | <multisection type="logger" attribute="loggers" name="*" required="no"> | 18:30 |
| fdrake | <description> | 18:30 |
| fdrake | Additional loggers for specific subsystems | 18:30 |
| fdrake | </description> | 18:30 |
| fdrake | </multisection> | 18:30 |
| jakke | a schema.xml of my package or zope2 schema.xml? | 18:31 |
| fdrake | Whatever schema you're using for the application config; you can create a new schema to extend the zope2 schema if you need to. | 18:32 |
| fdrake | I'm not familiar enough with recent Zope 2s to know how to hook that in, though. | 18:33 |
| *** fredvd has joined #zope | 18:34 | |
| *** agroszer has quit IRC | 18:34 | |
| jakke | I understood that by using %import <mypackage> I could extend the schema, is that correct or a misunderstanding? | 18:35 |
| jakke | in zope.conf | 18:35 |
| mgedmin | I doubt that | 18:36 |
| fdrake | Incorrect. | 18:36 |
| fdrake | That can include new concrete types, but doesn't get them used in the schema. | 18:36 |
| fdrake | It's usually used to load types for which the abstract types are already loaded. | 18:37 |
| fdrake | (And used.) | 18:37 |
| fdrake | Like new storage implementations. | 18:37 |
| jakke | abstract logger types are loaded | 18:37 |
| jakke | we have an access and eventlog | 18:37 |
| jakke | how to define a concrete type (like access logger) | 18:37 |
| fdrake | Why do you want a new concrete type? There's a logger concrete type; you just want to be able to use that. | 18:38 |
| jakke | I just want to add an extra logger to my application, to avoid spoiling eventlog or accesslog | 18:39 |
| fdrake | Right. | 18:39 |
| jakke | and I hope to be able to do that without touching the top schema.xml | 18:39 |
| fdrake | Check the Zope 2 schema to see if there's a multisection similar to what I showed earlier; if there is, you can use that. | 18:40 |
| fdrake | You'll be able to define all the loggers you need. | 18:40 |
| mgedmin | http://zope3.pov.lt/trac/browser/Zope/branches/2.13/src/Zope2/Startup/zopeschema.xml ? | 18:41 |
| fdrake | http://zope3.pov.lt/trac/browser/Zope/branches/2.13/src/Zope2/Startup/zopeschema.xml | 18:41 |
| fdrake | Ooops. | 18:42 |
| jakke | no multisection for loggers :s | 18:42 |
| fdrake | That's... unfortunate. | 18:42 |
| fdrake | So yesteryear. | 18:43 |
| jakke | with the multisection the <logger name> would work in zope.conf I'd guess | 18:43 |
| fdrake | Zope 3 supports that. :-) | 18:44 |
| jakke | lol, no easy upgrade here ;-) | 18:44 |
| mgedmin | you could deploy zope2 through wsgi and configure logging externally | 18:44 |
| mgedmin | or so I have heard | 18:44 |
| fdrake | Sorry; your problem is one of straightening out the schema definition, which is going to offer some b/w compatibility issues. | 18:45 |
| mgedmin | hm? that's a new feature, surely | 18:45 |
| mgedmin | what compatibility issues? | 18:45 |
| fdrake | The existing schema already uses the name "logger". | 18:45 |
| mgedmin | where? | 18:46 |
| jakke | that's a naming issue, another name that's documented should do the trick | 18:46 |
| fdrake | Right where you pointed me to (line 14). | 18:46 |
| jakke | logger is used for accesslog | 18:46 |
| mgedmin | that's <sectiontype> | 18:46 |
| mgedmin | oh, we need a different section type? | 18:46 |
| mgedmin | ah, for specifying the logger name | 18:46 |
| fdrake | Right; the sectiontype for <logger> is ... "logger"! | 18:46 |
| mgedmin | so it would conflict with http://zope3.pov.lt/trac/browser/ZConfig/trunk/ZConfig/components/logger/logger.xml | 18:48 |
| jakke | it's the same sectiontype as in zope2 | 18:49 |
| jakke | but a multisection with name="additionalloggers" or so would do the trick, no? | 18:50 |
| *** avoinea has quit IRC | 18:53 | |
| fdrake | The section type in Zope 2 doesn't share a definition with that of the same name in ZConfig.components.logger/logger.xml, which is the problem, as mgedmin points out. | 18:54 |
| *** __mac__ has quit IRC | 18:59 | |
| jakke | *sigh* a pitty, but thanks guys | 19:00 |
| jakke | I think I'll go for the zope-conf-additional parameter to get a dynamic way of accessing my var/log folder that is available at import time | 19:00 |
| *** fredvd has quit IRC | 19:00 | |
| jakke | an xml like config in buildout would have been sweet, but short term not feasable apparently | 19:01 |
| jakke | thanks for thinking and debugging with me! | 19:01 |
| *** tisto has quit IRC | 19:08 | |
| *** giacomos has quit IRC | 19:09 | |
| *** yvl has quit IRC | 19:09 | |
| mgedmin | so you didn't like the wsgi idea? | 19:10 |
| jakke | I think the guy who's in charge of the deployment would kick me if I did that ;-) | 19:10 |
| *** supton has quit IRC | 19:16 | |
| *** mitchell` is now known as mitchell`off | 19:29 | |
| *** leo2007 has quit IRC | 19:31 | |
| *** leo2007 has joined #zope | 19:34 | |
| *** mcdonc has quit IRC | 19:42 | |
| *** mcdonc has joined #zope | 19:43 | |
| *** maurits has quit IRC | 19:50 | |
| *** zagy has joined #zope | 19:50 | |
| *** leo2007 has quit IRC | 19:53 | |
| *** MrTango has quit IRC | 19:57 | |
| *** zagy has quit IRC | 19:58 | |
| *** tiwula has quit IRC | 20:06 | |
| *** zagy has joined #zope | 20:09 | |
| *** thetet has joined #zope | 20:11 | |
| *** eperez has quit IRC | 20:13 | |
| *** zagy has quit IRC | 20:15 | |
| *** River_Rat has joined #zope | 20:33 | |
| *** River-Rat has quit IRC | 20:35 | |
| *** Spanktar has joined #zope | 20:45 | |
| *** __mac__ has joined #zope | 20:59 | |
| *** roq_ has joined #zope | 21:05 | |
| *** LeoRochael has joined #zope | 21:10 | |
| *** zagy has joined #zope | 21:17 | |
| *** m8 has joined #zope | 21:29 | |
| *** AnneGilles is now known as AnneGilles_ | 21:30 | |
| *** supton has joined #zope | 21:38 | |
| *** crazydiamond has quit IRC | 21:39 | |
| *** sm has quit IRC | 21:45 | |
| *** LeoRochael has quit IRC | 21:51 | |
| *** LeoRochael has joined #zope | 21:55 | |
| *** zagy has quit IRC | 22:03 | |
| *** zagy has joined #zope | 22:11 | |
| *** sm has joined #zope | 22:18 | |
| *** zagy has quit IRC | 22:38 | |
| *** zagy has joined #zope | 22:42 | |
| *** zagy has quit IRC | 22:45 | |
| *** zagy has joined #zope | 23:00 | |
| *** zagy has quit IRC | 23:01 | |
| *** nande has quit IRC | 23:02 | |
| *** __mac__ has quit IRC | 23:12 | |
| *** nande has joined #zope | 23:14 | |
| *** LeoRochael has quit IRC | 23:18 | |
| *** LeoRochael has joined #zope | 23:27 | |
| *** supton has quit IRC | 23:33 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!