In my component controller, i have implemented JLog but this issue that i have is that the file log isn't created in directoy /logs.
There is the code of the controller that i'am using :
class TdsmanagerControllerWebservice extends JControllerLegacy {
public function update() {
jimport('joomla.log.log');
JLog::addLogger(
array(
'text_file' => 'com_tdsmanager.webservice.' . date('Y-m-d') . 'log.php'
),
JLog::ALL,
array('com_tdsmanager')
);
JLog::add(
"We are in update step", JLog::INFO, 'com_tdsmanager.webservice'
);
}
}
Do-you have an idea why JLog not working here ?
Thanks by advance
array('com_tdsmanager')
to just'com_tdsmanager'