Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
quot;test.txt","w"); to see if fopen can >> create a file in the same folder as the script? >> >> On Tue, Jan 4, 2011 at 9:39 AM, tinkee wrote: >>> >>> >>> i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log", &g

Re: log4php not working properly

2011-01-04 Thread tinkee
> >> i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log", >> 'w'); >> but still cannot create though.. >> >> >> >> tinkee wrote: >>> >>> >>> >>> iam on php 5.1.6... >>>

Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
in fopen("/var/www/html/logs/20110104.log", > 'w'); > but still cannot create though.. > > > > tinkee wrote: >> >> >> >> iam on php 5.1.6... >> >> i also noticed that in the echo result in line 69 of AppenderFile, the one >>

Re: log4php not working properly

2011-01-04 Thread tinkee
i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log", 'w'); but still cannot create though.. tinkee wrote: > > > > iam on php 5.1.6... > > i also noticed that in the echo result in line 69 of AppenderFile, the one > you told

Re: log4php not working properly

2011-01-04 Thread tinkee
iam on php 5.1.6... i also noticed that in the echo result in line 69 of AppenderFile, the one you told me earlier, the value is only: /var/www/html/logs/ and not the same value that was passed in getFile() which was: /var/www/html/logs/20110104.log the filename itself was not carried over

Re: log4php not working properly

2011-01-04 Thread Christian Grobmeier
t;>> >>>> my php file is in my: >>>> /var/www/html/Logging/loggingSamples/logtry.php >>>> >>>> while the logfile that i supposedly would create is in >>>> /var/www/html/logs/ >>>> >>>> the value of the fi

Re: log4php not working properly

2011-01-04 Thread tinkee
t;> >>> the file path is correct, i am on linux.. >>> >>> my php file is in my: >>> /var/www/html/Logging/loggingSamples/logtry.php >>> >>> while the logfile that i supposedly would create is in >>> /var/www/html/logs/ >&g

Re: log4php not working properly

2011-01-04 Thread tinkee
t;> >> while the logfile that i supposedly would create is in >> /var/www/html/logs/ >> >> the value of the filename in line 69 is: >> /var/www/html/logs/20110104.log >> >> it has successfully set the filename though... >> >> did i missed out on