[greenstone-users] Access log and error log

From Biligsaikhan B.
DateThu Nov 19 15:34:42 2009
Subject [greenstone-users] Access log and error log
In-Reply-To (c10ea959eb017876d254485a3d422271-pop-rnu-tn)
Dear all,

I`ve just tried to log all access and errors.
But, error log is not included date. How do include date and time?
Also, it gives error "database open failed on:
/var/www/gsdl/etc/history.db". Permission of history.db is 777.

Secondly, about the access log:
All access are listed as ?/cgi-bin/library "MY GATEWAY IP" [Sat Nov 14
00:01:54 +0900 2009] (a=d, ............ af=0) "Mozilla/5.0 (compatible;
Googlebot/2.1; +http://www.google.com/bot.html)"?

How to I know real visitors` IP etc,?

Thank you,