Permalink
Commits on Nov 7, 2012
  1. Merge "Prettify json log from command line"

    bluesalt committed with Gerrit Code Review Nov 7, 2012
  2. Prettify json log from command line

    Change-Id: I133204f40619c7eb049e805b528317f6ef67d503
    bluesalt committed Nov 2, 2012
Commits on Nov 2, 2012
  1. Add license file

    Change-Id: Iccb90da57d82115c5b7a7c1581832827bed8c403
    bluesalt committed Nov 2, 2012
Commits on Oct 31, 2012
  1. Support syslog namespace

    Change-Id: Ia6b93d543add8c424506ef6bbe0c4260d2a724b8
    bluesalt committed Oct 31, 2012
Commits on Oct 19, 2012
  1. Truncate syslog message

    Change-Id: Ia0d0ec1d49322c427f1a34f800d9752d4363bb00
    anfernee committed Oct 19, 2012
Commits on Oct 18, 2012
  1. Fix the problem of displaying README.md

    A few lines were indented improperly
    
    Change-Id: I658ac0d3d3caa7213f811c8b42ef8b37739700bc
    bluesalt committed Oct 18, 2012
Commits on Oct 12, 2012
  1. fix the problem when running benchmark cases

    global variable 'loggers' need to be initialized
    
    Change-Id: I4df74c5fd9493d3296ce119fd1e33aef5527ead1
    bluesalt committed Oct 12, 2012
Commits on Oct 9, 2012
  1. Add support for http basic authentication

    Change-Id: Ib5406e3cae876e1262f8e214e3eebaf86c3c4a6e
    bluesalt committed Sep 6, 2012
  2. Merge "GetLogLevel helper to convert string to LogLevel"

    dougm committed with Gerrit Code Review Oct 9, 2012
  3. GetLogLevel helper to convert string to LogLevel

    Useful for configuring log level (from .yml for example)
    
    Makes things a bit more consistent internally too
    w/o using the LEVELS map directly
    
    Change-Id: Ie36dc6fd5d0c6f0a17d35df9b0673e28b8792f62
    dougm committed Oct 6, 2012
Commits on Oct 8, 2012
  1. Add README file

    Change-Id: I6bf5edf00b8d8a6f31c4f9a8bfb896752c698e9a
    bluesalt committed Oct 8, 2012
Commits on Oct 2, 2012
  1. Fix json prettifier exclude flags

    Looks like template fields had been re-ordered, but EXCLUDE_ bitmap constants were not.
    
    Change-Id: I3b6b69601487b43952ab9f9c2fc4e2a6aca743a7
    dougm committed Oct 2, 2012
  2. Clear loggers in steno.Init()

    NewLogger() defaults BaseLogger.level to Config.Level
    but if we want to re-read config from disk for example and
    Config.Level changes, this is not propagated to existing loggers.
    
    Assuming Config.Init() is meant to be called when config is read
    from disk, such as process start or SIGHUP style restart, seems
    clearing the loggers map in Config.Init() is reasonable.
    
    Change-Id: I999238e157f379924da63f4f06440b15ad4598b6
    dougm committed Oct 2, 2012
  3. Change JsonPrettifier to implement Codec interface

    PrettifyEntry already has the EncodeRecord signature,
    by renaming we can use like so:
      out := steno.NewIOSink(os.Stdout)
      out.SetCodec(steno.NewJsonPrettifier(steno.EXCLUDE_NONE))
    
    Changed Init() to only set default Sink Codec if nil
    
    Change-Id: I80a56a92a2ef1a820055d3c5ff559de9b19a68cc
    dougm committed Sep 28, 2012
Commits on Sep 28, 2012
  1. Encode record directly

    Change-Id: I933bd831ed05cd294d95ebe17f62fa6e3ad9db94
    bluesalt committed Sep 28, 2012
Commits on Sep 27, 2012
  1. Encode timestamp to log record

    Change-Id: I0a293246f5e7cb1819ff03ecf4218326dbf1c625
    bluesalt committed Sep 27, 2012
Commits on Sep 25, 2012
  1. Change the level through http interface

    At the moment 5 request methods are implemented, all data are exchanged
    as json.
    1. GET /regexp : get something like {"RexExp": "test$", "Level": "fatal"}
    2. PUT /regexp : put with data like {"RegExp": "test$", "Level":"fatal"}
    3. GET /loggers/{name} : get information about the logger by name
    4. PUT /loggers/{name} : put with data like {"Level" : "fatal" }
    5. GET /loggers : get information about all loggers
    
    Change-Id: Ia39f22ab0e533df3e4c6059fa17b9b784b4efbfe
    bluesalt committed Aug 27, 2012
Commits on Sep 21, 2012
  1. Fix an unreasonable test case

    The case's expected value contains the method name added to log record.
    However, this information depends on the location of source code thus
    the code is unportable.
    
    Change-Id: Id36ff7306981594d8aeee281299ef68a5d88f633
    bluesalt committed Sep 20, 2012
Commits on Sep 19, 2012
  1. Add json output prettifier

    Change-Id: I4f97eee9cd8280023a2a39cb0ffc1f8ed2346557
    bluesalt committed Sep 5, 2012
  2. Rewrite the unit test cases with gocheck

    Change-Id: I57ef952ddf57b6f635b295243e94348151ba2817
    bluesalt committed Aug 14, 2012
Commits on Sep 1, 2012
  1. Move regexp support to separate file

    Change-Id: I73ec57c3df82ce8503871bc44764c2ff251f084d
    anfernee committed Aug 28, 2012
  2. Add performance benchmark

    Change-Id: Ia6fbba963ddb717a2396f1e657dd28d21d3f9833
    anfernee committed Aug 28, 2012
Commits on Aug 28, 2012
  1. Enable setting log level by log name matching

    Change-Id: Ica4f057f455dbf729e1791f1b9b5ed4960a9aca2
    anfernee committed Aug 16, 2012
  2. Sync the operations that need protection

    Change-Id: Ib9201f7a3c69f825b1eb463923516a3a077d8cb7
    anfernee committed Aug 16, 2012
Commits on Aug 16, 2012
  1. Support file, method, line in record

    Change-Id: Id0f7f32e44d67bf3fbbc4f91f732e506a1322cca
    anfernee committed Aug 14, 2012
  2. Refactor struct Config

    Change-Id: I490880c81f652e2f93657ac44e8e1723a540c841
    anfernee committed Aug 14, 2012
Commits on Aug 15, 2012
  1. Support getting logger status through http interface

    Change-Id: I64713352cab1c17e34462a424ffd50400bcb031c
    anfernee committed Aug 13, 2012
  2. Implement printf-like methods for all log levels

    Change-Id: I72b579dbc444fd4d4105ba801c1110150a3c596a
    anfernee committed Aug 13, 2012
  3. Support tagged logger

    Change-Id: I7a40a56704a6f6a1913f4696ffe33003db182634
    anfernee committed Aug 9, 2012
Commits on Aug 14, 2012
  1. Go with gofmt with Go

    Change-Id: I1d84cb764c29e92dd2ba30afbca8f5d359ecdccd
    anfernee committed Aug 14, 2012
  2. Refine log level. Add missing log level methods.

    Change-Id: Id5349f4bf4d312532e55b1458d24842e26ae849e
    anfernee committed Aug 9, 2012
  3. Rename struct IO to IOSink

    Change-Id: Icbbc5215648f4f19cc834ca3234e3e1294fd3471
    anfernee committed Aug 14, 2012
Commits on Aug 9, 2012
  1. Add json codec support

    Change-Id: I9674365abbfabd615860860c9d8020c921840c3f
    anfernee committed Aug 9, 2012
Commits on Aug 8, 2012
  1. Init commit

    Change-Id: If47302374b9fdf9e3ec6d1b0dfb4299851c077d8
    anfernee committed Aug 8, 2012