You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by laysakura <gi...@git.apache.org> on 2017/04/14 22:39:18 UTC

[GitHub] thrift issue #1252: [Ruby] Logging server-side exception message on Applicat...

Github user laysakura commented on the issue:

    https://github.com/apache/thrift/pull/1252
  
    @jeking3 Thank you for feedback.
    
    > It would be acceptable to have the server put this information into the GlobalLogger (if Ruby has the same logging concept as the C++ runtime) so that it ends up in a server log file. That would not be a security issue.
    
    I got it.
    
    Ruby code does not have GlobalLogger-like feature, so I use the same code as https://github.com/apache/thrift/blob/master/lib/rb/lib/thrift/server/nonblocking_server.rb#L29-L34 to get a logger.
    
    Please check it \U0001f64f 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---