[Rails] No more logs after SVN?
softwareengineer 99
softwareengineer99 at yahoo.com
Sun Feb 5 01:36:07 GMT 2006
Hi Zach,
Thank you for your reply.
Yes the user under which apache runs does have permisisons to the log directory.
I have tried to see the httpd error logs but nothing shows up there either.
I cannot make sense as to why the logs won't show up when running under Apache.
Thanks
Frank
Zach Wily <zach at zwily.com> wrote: Does the user apache runs as have permissions to write to the log directory?
On 2/4/06, softwareengineer 99 wrote:
> Thanks for your reply.
>
> I followed the steps you mentioned and the logs work when using
> script/server however no log entries are made when using Apache.
>
> Any suggestions on how I can see the logs when accessing the application
> through Apache?
>
> Thanks
> Frank
>
> £ukasz Piestrzeniewicz
wrote:
> On 02/02/06, softwareengineer 99 wrote:
> > By "subversioned" I mean I moved the app to a SVN repository. Before the
> > move the logs were being written to logs/development.log. Now nothing is
> > being written as I move from page to page.
> >
> > I don't want to commit my logs to the repository but would like to have
> > access to them as I develop.
> >
> > How can I change where the logs are being written?
>
> You may safely leave logs where they are, just tell svn to ignore
> them: from your application main directory do:
>
> # svn propset svn:ignore "*.log" log
> # svn ci -m "Ignoring log files" log
>
> Now for the problem with empty log files. I have had the same problem
> today and I fixed it just by deleting all contents of log directory.
> On next run of ./script/server everything was ok.
>
> --
> £ukasz Piestrzeniewicz
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
> ________________________________
> Yahoo! Mail - Helps protect you from nasty viruses.
>
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
_______________________________________________
Rails mailing list
Rails at lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060205/522bcda1/attachment.html
More information about the Rails
mailing list