* Why is logging recording all of the logs forever? Fixed memory leak.
git-svn-id: svn://netflint.net/xmpphp@65 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
parent
0434419a16
commit
e9d36af595
@ -84,7 +84,7 @@ class XMPPHP_Log {
|
||||
*/
|
||||
public function log($msg, $runlevel = self::LEVEL_INFO) {
|
||||
$time = time();
|
||||
$this->data[] = array($this->runlevel, $msg, $time);
|
||||
#$this->data[] = array($this->runlevel, $msg, $time);
|
||||
if($this->printout and $runlevel <= $this->runlevel) {
|
||||
$this->writeLine($msg, $runlevel, $time);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user