Get log entry with api

English! place to talk about development, programming and coding
Post Reply
mma
Znuny newbie
Posts: 2
Joined: 18 Mar 2011, 11:45
Znuny Version: 2.4

Get log entry with api

Post by mma »

Hi all !

I develop a small program (using PHP and API) and my small function doesn't return something

Code: Select all

$logerr=$client->__soapCall("Dispatch", array(
	$client->_login,
	$client->_password, 
	"LogObject" ,
	"GetLogEntry",
	"Type",'error',
	"What",'Message'
));
$logerr contains an empty string...Whereas I create an error just before and I can see it in my syslog. Where is my error ?
But GetLog works.
For information, I use OTRS 2.4.
French developer with poor english ;-)
Post Reply