Markus Geiger wrote:

>  > My guess: mysql query failed. The current (as in, CVS) allows you to log
>  > these errors, which will give a handle on why exactly the query is
>  > failing.
>
>  > You'll need MMP to turn on the logging though. A quick hack to
>  > mod_midgard should fix that.
>
> Sorry, I didn't quite understand how to turn on logging...
>
> What exactly do I have to do? I haven't found any compiler swith
> like --enable-logging..

In your config file, use 'MidgardLog Debug+ /var/log/midgard.log'

> Is there a way to log errors without using MMP instead of mod_midgard?

Yes: in mod_midgard.c, change

   mgd_init();

to

   mgd_init_ex(mgd_parse_log_levels("Debug+"), "/var/log/midgard.log");

Emile

PS: please use the list for Midgard questions.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to