Greetings!
I'm very fresh to php and modx in general. I was given a task to redirect all error logs that Modx writes from Mysqldb to a text file.
I work with Modx Evolution.
I've searched several similiar topics here but didn't find the right answer.
[ed. note: alk1986 last edited this post 13 years, 11 months ago.]
-
MODX Staff
- 10,725 Posts
You could also add it to your config.inc.php file so it is applied everywhere you use MODX.
Greets again! First of all, thanx for your support.
But it seems that you've got me wrong.
I have Modx Evo and a Mysql server running. When a users lands to a website he gets Mysql:too many connections error instead of the landing page. ModX tries to write mysql error log to that particular db and we get a loop. Only curable by restarting apache. I also should note that it is a floating bug.
My question is: how can i solve the problem of redirecting that mysql error log to a text file to know what causes the problem? Is there any modx evo specified tools to do that?