Permalink
Commits on Mar 18, 2018
  1. Merge branch 'TLS-logging'

    milgner committed Mar 18, 2018
  2. Remove incorrect list of ciphers

    Stexxen authored and milgner committed Nov 8, 2017
    Clarify the purpose of the cipher string.
  3. Support raising SSL exceptions up

    Stexxen authored and milgner committed Nov 7, 2017
    Default is unchanged.
  4. Merge pull request #70 from jsmucr/patch-1

    milgner committed Mar 18, 2018
    Handle server disconnection properly
  5. Merge pull request #50 from mehlah/fix-empty-short-messages

    milgner committed Mar 18, 2018
    Ignore empty messages logging
Commits on Nov 28, 2017
  1. Code cleanup

    jsmucr committed Nov 28, 2017
    A second attempt to lower cognitive complexity.
  2. Simplify the code a bit

    jsmucr committed Nov 28, 2017
    An attempt to lower cognitive complexity.
  3. Handle server disconnection properly

    jsmucr committed Nov 28, 2017
    In case the server restarted unexpectedly, the first message to come after got lost as it was written to a broken socket.
Commits on Nov 24, 2017
  1. Fix condition to be simpler

    andreycizov committed Nov 24, 2017
  2. Fixing conditions

    andreycizov committed Nov 24, 2017
  3. Removed double check on the key

    andreycizov committed Nov 24, 2017
  4. Implemented CA path selection

    andreycizov committed Nov 24, 2017
Commits on Oct 26, 2017
  1. Merge pull request #67 from nepalez/master

    tessie committed Oct 26, 2017
    Prevent mutation of notifier arguments
Commits on Oct 25, 2017
  1. Prevent mutation of notifier arguments

    nepalez committed Oct 25, 2017
Commits on Aug 17, 2017
  1. Add Ruby 2.4 to list of supported Ruby versions (#60)

    tessie authored and joschi committed Aug 17, 2017
    [ci skip]
Commits on Aug 14, 2017
Commits on Aug 10, 2017
  1. Update links in README.md

    joschi committed Aug 10, 2017
    [ci skip]
  2. Add additional non-Ruby logger levels for wider compatibility (#52)

    emsearcy authored and joschi committed Aug 10, 2017
    * Add additional non-Ruby logger levels for wider compatibility
    * Add Emergency level, consistent syslog verbatim severities
    * Emergency was left out
    * Previously used "CRIT" (for Critical), similar to WARN/Warning and
      INFO/Informational. Change all syslog source constants (including those with
      Logger constants) to use their verbatim RFC 5424 severity names.
  3. Opportunistically use Yajl for json encoding (#53)

    emsearcy authored and joschi committed Aug 10, 2017
    Replace #to_json with a faster Yajl implementation, when Yajl is present.
    
    Also, this fixes the JSON::GeneratorError error: "source sequence is
    illegal/malformed utf-8", which happens when source hashes do not have
    correct encoding.  In particular, this affects emsearcy/fluent-plugin-gelf,
    which may have strings coming in with improper encoding, becuase fluentd
    treats all logs as ASCII-8BIT (see fluent/fluentd#215).
    
    There are other opportunities for performance improvements with Yajl, like
    using its stream processing to write to the sockets as it syncronously
    encodes and/or compresses, but I've ignored those for now as they would
    require architectural changes to gelf-rb.
Commits on Oct 11, 2016
  1. Use `block.call` instead of `yield` in `Logger#add`

    mehlah committed Oct 11, 2016
    It makes the block argument usage explicit, as discussed at
    #50 (comment)
Commits on Sep 12, 2016
  1. Merge pull request #49 from defsprite/remove_hash_instance

    milgner committed Sep 12, 2016
    Pass hash argument to mutating methods
Commits on Aug 31, 2016
  1. Ignore empty messages logging

    mehlah committed Aug 31, 2016
Commits on Aug 24, 2016
  1. Pass hash argument to mutating methods

    defsprite committed Aug 24, 2016
    Since multiple threads may share an instance of GELF::Notfier,
    the @hash payload should be passed around to each mutating method
    as an argument instead of being an instance variable.
Commits on Aug 23, 2016
Commits on Aug 21, 2016
  1. Update Jeweler for proper 3.0 release :bowtie:

    milgner committed Aug 21, 2016
    Also add a badge for Code Climate static code analysis
Commits on Jun 24, 2016
  1. Update bundle, remove support for ancient Rubies

    milgner committed Jun 24, 2016
    - since even Ruby 2.0 is EOL, remove support for old Rubygems versions
    - update dependency versions (especially to resolve Nokogiri issues)
    - fix some style issues (via Code Climate)
  2. Refactor TCP transport & support TLS

    milgner committed May 15, 2016
    - use Rubys built-in TCPSocket or - if available - Celluloid::IO
    - use more Enumerable methods for more concise code
    - remove unnecessary uses of self and begin block
    - fix `GELF::Transport::TCP#addresses`
    - remove previously deprecated options
    - extract numbers into constants
    - replace `class_eval` with `define_method`
    
    The TLS session is configured to be as secure as possible by default, using
    TLS v1.2, forbidding SSLv3 and explicitly setting the cipher list to prevent
    weak ciphers.
    
    The next step will be to add support for pinning or stricter verification of
    the server certificate.
    
    Since this is a breaking change (removed deprecated options) and introduces
    a major feature (TLS), the version is bumped to 3.0.0.
Commits on Mar 29, 2016
  1. Make sure we do not send more than 128 GELF chunks

    bernd committed Mar 29, 2016
    Only 128 chunks are allowed per GELF spec.
    
    Fixes #40
Commits on Mar 26, 2016
  1. Remove ruby 1.8 add add 2.3 to travis config

    bernd committed Mar 26, 2016
    Remove irc hook.