View Single Post
  #8  
Old 2nd October 2005, 19:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by linuxfast
Hehe OK

Well I am looking at this:

Code:
 $mod->system->delgroup("web".$web_doc_id);
    //$mod->log->caselog("groupdel web$web_doc_id &> /dev/null", $this->FILE, __LINE__);
what is the commented out line ? If I uncomment, will this log the action in the log file ?

Ughhh my head is hurting now, is there any quick way that I can log all actions by the function wf() in ispconfig_file_lib.php using your logging class ?

This may help me find why groups are not being deleted
You could use
PHP Code:
$mod->log->caselog("groupdel web$web_doc_id &> /dev/null"$this->FILE__LINE__); 
and comment out the other line.
That should log the action into the log file.
There's no quick way for logging every action. You'd have to add the code for logging to every single action manually...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote