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

How to suppress the citier logging #48

Open
axsuul opened this issue Jan 5, 2012 · 1 comment
Open

How to suppress the citier logging #48

axsuul opened this issue Jan 5, 2012 · 1 comment

Comments

@axsuul
Copy link

axsuul commented Jan 5, 2012

How do I suppress this output (in the server log and before starting up rails console)?

citier -> tablename (view) ->
citier -> Non Root Class
citier -> table_name ->
citier -> tablename (view) ->
@lankz
Copy link

lankz commented Nov 19, 2014

Here's a copy-paste of an old hack to do this:

# NOTE: this is somewhat hacky, but the first thing citier does is set the value
#       of the +CITIER_DEBUGGING+ constant to +true+ if the rails environment is
#       development. use an environment variable to re-enable
Object.send(:remove_const, :CITIER_DEBUGGING)
CITIER_DEBUGGING = !!(ENV.fetch('CITIER_DEBUGGING', false))

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

No branches or pull requests

2 participants