Home arrow Ondersteuning arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] regarding server logs (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] regarding server logs
#18949
tomwang67 (User)
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
[done] regarding server logs 2 Months ago Karma: 0  
Hi,

I am new to PHP and LimeSurvey.

How do I add log message (any log utility class) in LimeSurvey?

Where do I set and find the log output file?

many thanks.

tom
 
Logged Logged  
 
Last Edit: 2008/09/19 00:37 By Mazi.
  The administrator has disabled public write access.
#18950
ElMatador69 (Moderator)
LimeSurvey Team
Posts: 1577
graphgraph
User Offline Click here to see the profile of this user
Re:regarding server logs 2 Months ago Karma: 31  
Hi, are you talking about LimeSurvey v1.x or v2?

If v1.x have a look for "$debug" and set this parameter to "2" in your config.php:
$debug = 2;

docs.limesurvey.org/tiki-index.php?page=...allation#Development
 
Logged Logged  
 
Get in touch with the LimeSurvey Development Team via IRC
If our informations and answers were useful to you, please consider a donation to the LimeSurvey Project!
  The administrator has disabled public write access.
#18953
tomwang67 (User)
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:regarding server logs 2 Months ago Karma: 0  
thanks!

I installed 1.7 and tried to run the admin.php but get a "Premature end of script headers" in the apache error log. And there is no more message in the same log even when I change the $debug setting to 2.

The document in your link says "set the PHP error reporting to E_ALL", where is this E_ALL going to be sent? same as the apache log file?

I followed the installation and did not see any problems, so I decided to debug a bit myself. I was wondering if there is any existing log utility built inside LimeSurvey I can use?
 
Logged Logged  
  The administrator has disabled public write access.
#18976
Mazi (Moderator)
Moderator Lime
Posts: 3262
graph
User Offline Click here to see the profile of this user
Re:regarding server logs 2 Months ago Karma: 25  
Setting $debug = 2; and E_ALL has nothing to do with the apache server logs but only outputs error messages at the browser.

There is no logging mechanism. Only things which can be logged are IP-Adresses of users and some similiar stuff. Check manual -> creating a new survey -> Notification & Data Management
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top