Graham Dumpleton
graham.dumpleton at gmail.com
Mon Nov 17 19:55:31 EST 2008
2008/11/18 Annie Wang <aw1179 at yahoo.com>: > I think my problem is record.__dict__['server'] raised an exception and it > is just calling apache.log_error(record.getMessage(), level) without the > server parameter so only warn/error messages made it to the error_log. So my > question is, how do I get a hold of this server object other than from the > request object ? If you are after server object for the virtual host, there is no other way of getting it except via request object. Only other server object available is that for main server, which from memory is apache.main_server. Graham
|