phprocks! Posted January 12, 2009 Share Posted January 12, 2009 Hi, I've added some debug statements in my code. It generates a debug log (level 7). The log is generated by executing the index page through a load test (1000 VU accessing concurrently 5 mins). Is there any guide out there that explains how to interpret the debug log? I just can't make any sense of it. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/ Share on other sites More sharing options...
kenrbnsn Posted January 12, 2009 Share Posted January 12, 2009 How did you add the debugging code. If it's your own code, you should know how to interpret it. Ken Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735208 Share on other sites More sharing options...
phprocks! Posted January 12, 2009 Author Share Posted January 12, 2009 How did you add the debugging code. If it's your own code, you should know how to interpret it. Ken Well, unfortunately it isn't my code. I'm a performance tester and trying to make sense which functions are degrading the performance during load testing. I get to see loads of time stamps and session id's in a random order. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735211 Share on other sites More sharing options...
phprocks! Posted January 12, 2009 Author Share Posted January 12, 2009 How did you add the debugging code. If it's your own code, you should know how to interpret it. Ken Well, unfortunately it isn't my code. I'm a performance tester and trying to make sense which functions are degrading the performance during load testing. I get to see loads of time stamps and session id's in a random order. An example is: Mon, 12 Jan 2009 12:50:27 +0100 DEBUG (7): (runtime 9,186 sec id=) dispatch()... Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735214 Share on other sites More sharing options...
Mchl Posted January 12, 2009 Share Posted January 12, 2009 Maybe ask the person who gave you this code? Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735215 Share on other sites More sharing options...
phprocks! Posted January 12, 2009 Author Share Posted January 12, 2009 Maybe ask the person who gave you this code? I'm not wanting to interpret the code. I want to make sense of the output of the debug log. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735217 Share on other sites More sharing options...
trq Posted January 12, 2009 Share Posted January 12, 2009 There is no standard debug log created by php scripts. You will need to look at the code producing these logs. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735224 Share on other sites More sharing options...
phprocks! Posted January 12, 2009 Author Share Posted January 12, 2009 There is no standard debug log created by php scripts. You will need to look at the code producing these logs. I'm sorry. I now realize that it's an Apache log. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735225 Share on other sites More sharing options...
trq Posted January 12, 2009 Share Posted January 12, 2009 What exactly does 'double' meen? What we are telling you is the output you describe is not created by standard php. Obviously its some custom debugger and as such we are unable to help you with its output without seeing how it creates it. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735232 Share on other sites More sharing options...
phprocks! Posted January 12, 2009 Author Share Posted January 12, 2009 What exactly does 'double' meen? What we are telling you is the output you describe is not created by standard php. Obviously its some custom debugger and as such we are unable to help you with its output without seeing how it creates it. I understand. It is a log generated by Apache server and set at level 7. I hope that clarifies my problem. PS. I'm all new to this so please forgive my ignorance. Link to comment https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735234 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.