You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some situations where we're sensitive to what gets printed to stdout. When xray is required in an environment that includes rails, the following gets printed out to the console:
XRay: Enabling Rails Controller Tracing
XRay: Enabling Rails DB Tracing
As a temporary measure we're going to pull the xray code in to our project and delete these messages. We would appreciate it if there were some way of turning them off...
...and we aren't using the rails features of xray anyway. It would also work - and perhaps be preferable from our POV - if we could require xray in an environment that uses rails but turn off/not automatically include the xray-rails functionality.
Xray has been enormously useful to us over time (kill -3) - thank you for it.
-Steve
The text was updated successfully, but these errors were encountered:
Thanks for letting me know. I will push a new version with no stdout output.
If you are not using the Rails instrumentation though, you already have an easy way out in the meantime: In your code, replace your 'require "xray"' with 'require "xray/thread_dump_signal_handler"', that should do the trick!
Hi,
We have some situations where we're sensitive to what gets printed to stdout. When xray is required in an environment that includes rails, the following gets printed out to the console:
XRay: Enabling Rails Controller Tracing
XRay: Enabling Rails DB Tracing
As a temporary measure we're going to pull the xray code in to our project and delete these messages. We would appreciate it if there were some way of turning them off...
...and we aren't using the rails features of xray anyway. It would also work - and perhaps be preferable from our POV - if we could require xray in an environment that uses rails but turn off/not automatically include the xray-rails functionality.
Xray has been enormously useful to us over time (kill -3) - thank you for it.
-Steve
The text was updated successfully, but these errors were encountered: