Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging doesn't seem to be working? #5

Open
orenb opened this issue May 25, 2011 · 1 comment
Open

Logging doesn't seem to be working? #5

orenb opened this issue May 25, 2011 · 1 comment
Labels

Comments

@orenb
Copy link
Contributor

orenb commented May 25, 2011

grep the code for 'puts' , replace any of them with 'logger.info'. Nothing is output to the server log as it's running.
Weird.
config/environments/development.rb does have config.log_level = :info though.

@orenb
Copy link
Contributor Author

orenb commented May 29, 2011

It seems to be working at least in some cases.
For instance, the "GOT PAST LOGIN_REQUIRED" message is displayed when going to pages that require authentication,
and that message is displayed as a result of a call to logger.info on app/helpers/application_helper.rb:158.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant