[Rails] No more logs after SVN?
softwareengineer 99
softwareengineer99 at yahoo.com
Sat Feb 4 22:45:17 GMT 2006
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 <bragi.ragnarson at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060204/0badfc05/attachment-0001.html
More information about the Rails
mailing list