Indicia-Team / drupal-7-module-indicia-api

2nd gen iform_mobile_auth
GNU General Public License v3.0
0 stars 1 forks source link

Debug messages flooding error logs #15

Open JimBacon opened 7 years ago

JimBacon commented 7 years ago

If apps are left in debug mode long term then the PHP error log and, to a lesser extent, the Drupal log become so full of the debug messages that it is hard to locate errors when they occur. Look for an alternative, e.g. using a separate file for debug. When doing so, ensure the content is stored securely as it will contain sensitive information.

kazlauskis commented 6 years ago

Yes, it is verbous logging right now. Just want to stress the importance of it when it comes to mobile app developmet. Long term logging (up to 2-3 months) is very useful as it would be nearly imposible to debug some issues coming from user reports the problem has occurred a month ago without the logs. Plus, good to see patterns for problems :)

JimBacon commented 6 years ago

Sure. The point I was trying to make is that it is impeding error detection and correction of non-app problems because they are lost amongst the huge volume of debug messages coming from the apps. I'm therefore suggesting that the apps need their own log file.