Skip to content

Please... no childish ASCII art in the syslogs ! #1935

Closed

Description

@pickupapenguin

Come on guys, what's this nonsense in my syslogs ? Some smart alec coder trying to draw clouds in my syslogs ?

Syslogs serve a very important administrative purpose, and its no place for childish ASCII art, especially when the syslogs are being sent to a central repository such as Splunk for parsing and processing.

Aug 14 09:40:07 ww3-ukc redis[1898]: . #12 .-__ ''-._ #012 _.- .. ''-._ Redis 2.8.9 (00000000/0) 64 bit#012 .-.-``.``\/ _.,_ ''-._ #012 ( ' , .- | , ) Running in stand alone mode#012 |-.-...- __...-.-._|'.-'| Port: 6379#012 |-._ ._ / .-' | PID: 1898#012-._ -.-./ _.-' _.-' #012 |-.-._-.**.-' .-'.-'| #12 | -._-. .-'.-' | http://redis.io #12 -._-.-.**.-'_.-' _.-' #012 |-.-._-.**.-' .-'.-'| #12 | -._-._ .-'.-' | #12 -._-.-.**.-'_.-' _.-' #012 -. -.__.-' _.-' #012-._ _.-' #12 `-.__.-' #12
Aug 14 09:40:07 ww3-ukc redis[1898]: Server started, Redis version 2.8.9

Activity

  1. badboy commented on Aug 14, 2014

    @badboy
    Contributor

    Easy, it's the Redis logo:

                    _._                
               _.-``__ ''-._           
          _.-``    `.  `_.  ''-._      
      .-`` .-```.  ```\/    _.,_ ''-._ 
     (    '      ,       .-`  | `,    )
     |`-._`-...-` __...-.``-._|'` _.-'|
     |    `-._   `._    /     _.-'    |
      `-._    `-._  `-./  _.-'    _.-' 
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |
      `-._    `-._`-.__.-'_.-'    _.-' 
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |
      `-._    `-._`-.__.-'_.-'    _.-' 
          `-._    `-.__.-'    _.-'     
              `-._        _.-'         
                  `-.__.-'             
    

    It also includes some basic info (but you can get that info also from INFO). If you don't want it in your syslog, filter it, it's only output once at start.

  2. badboy commented on Aug 14, 2014

    @badboy
    Contributor

    Dup of #541

  3. kulicuu commented on Aug 14, 2014

    @kulicuu

    I think the art is appropriate... and tasteful. Don't let it ruin your day.

  4. m-o-e commented on Aug 14, 2014

    @m-o-e

    If redis wants to be artful then it should ensure
    the artwork displays correctly in all contexts (including syslog)
    and suppress it in contexts where it cannot be
    displayed correctly.

    Otherwise it's not "art" but trash, and a sign of sloppyness.

    Dumping visual garbage on the user at startup is not a sensible design.

  5. kulicuu commented on Aug 14, 2014

    @kulicuu

    Dumping visual garbage on the user at startup is not a sensible design.

    I wonder... perhaps we should consult an art historian, philosopher even ?

    If it's causing you problems in syslog then maybe it's really a bug and should be dealt with. i dunno. just a bit funny.

  6. pickupapenguin commented on Aug 14, 2014

    @pickupapenguin
    Author

    Its trash, utter trash.

    The syslogs are there for the sysadmins to use as part of their work.

    If sysadmins are looking through the logs, is because they are either troubleshooting or looking for signs of trouble.

    Cluttering up the logs with five lines of ASCII art is just pure arrogance on the part of Redis.

  7. pickupapenguin commented on Aug 14, 2014

    @pickupapenguin
    Author

    If you don't want it in your syslog, filter it, it's only output once at start.

    No. It should not be there in the first place !

    Or at the very least, if Redis want to continue with their arrogant syslog graffiti, then they should provide a Redis config option to TURN IT OFF !

    Why should I have to filter it ? How do you propose I build a filter for a piece of trashy ASCII art in the first place ? Redis put it there, Redis should provide the solution (or preferably remove it).

    I think the art is appropriate...

    Its NOT appropriate.

    Name me one other serious piece of software that sprawls graffiti all over the syslog on startup ... exactly ... you can't. So we're basically saying Redis is not a serious piece of software.

  8. kulicuu commented on Aug 14, 2014

    @kulicuu

    Excessive histrionics.

  9. tjosten commented on Aug 14, 2014

    @tjosten

    I like ASCII.

  10. timbuchwaldt commented on Aug 14, 2014

    @timbuchwaldt
  11. badboy commented on Aug 14, 2014

    @badboy
    Contributor

    @pickupapenguin Your harsh tone is not ok. Your criticism would be much better if you stop the insults. If you think that serious software can't have some fun in there, that's up to you, I and others don't bother too much it seems (oh, and neither do Twitter, GitHub, Tumblr, Instagram or one of the other big and small Redis users out there). Feel free to submit a pull request to either make it configurable or simply not sending the ASCII through syslog.

  12. m-o-e commented on Aug 14, 2014

    @m-o-e

    I like ascii art too. I host an archive of old BBS ads: http://goo.gl/0hkhNN

    That's why it pains me to see a piece garbled due to negligence.
    If you can't display it right then rather don't show it at all.

  13. zakx commented on Aug 14, 2014

    @zakx

    I for one think that the ASCII logo should be larger. My terminal is usually at least 80 characters wide and the current logo doesn't even fill half of it.

  14. eimann commented on Aug 14, 2014

    @eimann

    We barely see the small ASCII logo in our syslog dashboard, as we have 4K displays in the ops room.

  15. tjosten commented on Aug 14, 2014

    @tjosten

    I can confirm that the ASCII logo is correctly displayed in our syslog dashboard, as we have no 4K displays in the ops room.

    Redis ASCII art

  16. 25 remaining items

  17. antirez commented on Dec 4, 2014

    @antirez
    Contributor

    @dreid93 thank you :-)

  18. ddaws commented on Dec 5, 2014

    @ddaws
  19. ddaws commented on Dec 5, 2014

    @ddaws

    @antirez are you receiving the BTC? I am not sure if this is working and have been asking on /r/changetip for advice.

  20. antirez commented on Dec 5, 2014

    @antirez
    Contributor

    @dreid93 apparently does not work, but the kindness of the idea is what matters ;-)

  21. drscre commented on Jul 4, 2017

    @drscre

    Is it possible to turn of logo via config option?

    We deploy our services in containers and stream docker container output to graylog via filebeat, so each output line results in a separate graylog message.

  22. badboy commented on Jul 4, 2017

    @badboy
    Contributor

    @drscre In the upcoming 4.0 it will be hidden if the log is not stdout and not a TTY

  23. evictor commented on Sep 25, 2017

    @evictor

    I like the logo, but it gets mangled when a bunch of log streams are asynchronously consolidated while spinning up a bunch of different instances (the lines of the logo get interspersed with other log lines), which is how I ended up here trying to figure out how to turn it off.

  24. drscre commented on Nov 11, 2017

    @drscre

    @badboy Why not just turn it off by default? Any practical reason for this?

  25. itamarhaber commented on Nov 11, 2017

    @itamarhaber
    Member
  26. gnumoksha commented on Mar 14, 2018

    @gnumoksha

    I think it is a strange behavior because almost none sysadmin expects ASCII art in logs, if we want some fun we can use cowsay and fortune. Also, its complicated to have ascii art in log aggregators like Graylog, since I run redis inside a docker container, where the best practice is redirect stderr to stdout. What means version 4 of redis will still output unnecessary log.

    If the authors likes ascii art, ok, I can accept it, but don't providing a way to turn it off is... strange, I mean I don't even can image a reason why @jcspencer's suggestion is not available.

  27. badboy commented on Mar 14, 2018

    @badboy
    Contributor

    @gnumoksha you’re nearly a year late.

  28. gnumoksha commented on Mar 14, 2018

    @gnumoksha

    @badboy an explanation would be nice

  29. jcstanaway commented on Mar 14, 2018

    @jcstanaway

    redis.conf:

    # By default Redis shows an ASCII art logo only when started to log to the
    # standard output and if the standard output is a TTY. Basically this means
    # that normally a logo is displayed only in interactive sessions.
    #
    # However it is possible to force the pre-4.0 behavior and always show a
    # ASCII art logo in startup logs by setting the following option to yes.
    always-show-logo no
    
  30. antirez commented on Mar 14, 2018

    @antirez
    Contributor

    Given that this is now fixed, and by default when the target is the syslog Redis no longer shows a logo, I think this is resolved and any further comment accounts mostly to noise... So closing the thread.

  31. locked as resolved and limited conversation to collaborators on Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions