Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
mod_rails -- where do logs go?
John Honovich
4/13/2008 6:40:00 AM
I just set up mod_rails (
http://www.mod...
). Install was easy.
Application seems to be running fine.
One thing I am confused about is that on my server no new entries to the
production log are being added. I am not sure if this is by design or I
made a mistake.
Any advice? It seems mod-rails has only been out for a few days so not
a ton of information I could find yet.
Thanks,
John
--
Posted via
http://www.ruby-...
.
2 Answers
Phillip Gawlowski
4/13/2008 7:11:00 AM
0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Honovich wrote:
| I just set up mod_rails (
http://www.mod...
). Install was easy.
| Application seems to be running fine.
|
| Any advice? It seems mod-rails has only been out for a few days so not
| a ton of information I could find yet.
http://www.mod...
documentation.html
However, Apache modules stuff their logs into apache's log (not
surprising, since they are part of the Apache webserver).
- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Each module should do one thing well.
~ - The Elements of Programming Style (Kernighan & Plaugher)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail....
iEYEARECAAYFAkgBsfcACgkQbtAgaoJTgL/s4wCfZ8MV9jhymkHzW1KwlpHTYpGF
URgAoIf7KcxRgtylANgk8lvcrwQf8/5b
=pzqr
-----END PGP SIGNATURE-----
John Honovich
4/13/2008 6:33:00 PM
0
I got it working. It seems mod_rails is logging to log/production.logs,
same as before but it can require a minor tweek.
The fix was to follow:
#
By default, Passenger runs Rails applications in production mode, so
please be sure to check production.log instead of development.log. See
RailsEnv for configuration.
#
By default, Passenger runs Rails applications as the owner of
environment.rb. So the log file can only be written to if that user has
write permission to the log file. Please chmod or chown your log file
accordingly.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
mod_rails -- where do logs go?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password