[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] web.log raq3



Behalf Of David White
>
> I am trying to access the file web.log which is in the /logs/ directory.
>
> The logs directory is accessible from the site root directory "/"
> where you
> find /certs/, /logs/, /users/ and /web/ directories.
>
> The client site sits in the web directory and the log sits in the logs
> directory. Is there a url or address so that we can access this online.
>
> Personally I need to use php3 to get to it, to perform some counts etc.


David - if you access it in PHP3 you can point to the file
/home/sites/sit#/logs/web.log

ie

if (!$file = fopen("/home/sites/site#/logs/web.log","r"))
	{
		then do your worst

Jim Carey