I recently set up a SQL logging framework with PEAR, and everything was working fine.
However, I thought that the default length of the message field (VARCHAR 200
) was a little short, so I changed my database structure in phpmyadmin to increase this to 512
.
However, I quickly realized that this change completely stopped logging from working. I quickly changed the length back to 200
. However, even after this change, logging is still broken. I have traced the error to the log function, but unfortunately it does not give me a specific reason why it fails.
So, my question is twofold:
Has anyone run into this problem or something similar when using PEAR logging?
What is the correct way to create a longer message field?