All that does is reopen the file. How does logger know to use it?
Am I missing something obvious?
Brandon Keepers
unread,
Feb 11, 2010, 5:02:44 PM2/11/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to delay...@googlegroups.com
After the process daemonizes, any file pointers that were open are redirected to log/delayed_job.log. That will redirect the rails logger and $stdout/$stderr. Not the prettiest solution, but it works.
Brandon
Michael Guterl
unread,
Feb 12, 2010, 9:14:24 AM2/12/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to delay...@googlegroups.com
Thanks for explaining this Brandon, I really appreciate it.