Git Product home page Git Product logo

Comments (3)

edlebert avatar edlebert commented on June 1, 2024

This is a pretty major bug, since most/all Rails webapps employ a UTF8 form parameter when submitting POST requests to apps. This effectively removes all app logging from heroku. All log entries after an UTF-8 POST request are gone.

from log-shuttle.

freeformz avatar freeformz commented on June 1, 2024

I kept this in mind while looking at another issue today and log-shuttle keeps the incoming message as a []byte. The only time it manipulates it if it's len(message) > 10000. Frames are length prefixed in the body as well. So as long as utf8 messages are < 10000 bytes in length we should be fine atm.

Maybe heroku/logplex is to blame, although I think it treats messages similiarly.

We'll have to put together an end-to-end utf8 test probably.

I'm leaving this open for now until I can have a chance to write a test that exercises things.

from log-shuttle.

freeformz avatar freeformz commented on June 1, 2024

Turns our the core problem was this: phusion/passenger@48f9486

I've tested that log-shuttle relays utf8 fine (as long as the log line is under 10000 bytes as there is likely a problem with splitting in the middle of a utf8 "character".

from log-shuttle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.