Guest Posted January 3, 2003 Share Posted January 3, 2003 Hello all you experts at OSC, I'm a new guy. Been having good success with my install and setup, but have one gotcha that is eluding me. Under the CONFIGURATON menu (ADMIN sysem), there is a Logging function that can be turned on. Looks very simple, yet when I try to point to the location of the log file (catalog/logs/page_parse_time.log) and change the items to be logged from FALSE to TRUE, this causes problems. For some reason the logger.php can't find the file. Every page gets numerous error messages for then on. I have tried all combos of "/catalog/.." or "catalog/.." "www.website.com/catalog/logs/..." and nothing seems to work. I have changed the permissions to 777 and still nothing. I have searched the Forum for "logging", "page_parse_time" and many similiar entries, but not a word could I find. Am I the only one that is using this feature or is having trouble with it? What is the correct way to set this up? Does it have to be the default location (/var/log/www/tep/page_parse_time.log)? Link to comment Share on other sites More sharing options...
Kent C Posted January 3, 2003 Share Posted January 3, 2003 Hi Bill, I've had the same thing happen on Win 2K/PWS with a late Dec build. Since I'm still struggling through the OSC setup, I turned the logging off until I can devote more time to it. Kent Link to comment Share on other sites More sharing options...
Kent C Posted January 4, 2003 Share Posted January 4, 2003 Bill, In the Admin/Configuration.php Logging page, edit your log destination to be a file relative to your "admin" folder. Omit the leading slash. eg. I entered the path: "logs/time_to_parse.log". I created a folder called "logs" to the admin folder, and then I gave this folder Write permission. Poof, done! :D HTH Kent Link to comment Share on other sites More sharing options...
Guest Posted January 5, 2003 Share Posted January 5, 2003 Thanks for the reply Ken, glad I'm not the only one with this issue. :D I did some more research and found out that the OSC logging feature is using the standard PHP error logging function. PHP is is looking for the full path from /home on the server, not a relative web address. I made these changes and the logging function is now operational. :oops: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.