Git Product home page Git Product logo

lager_elogfmt_formatter's Introduction

lager_elogfmt_formatter's People

Contributors

svc-scm avatar ypaq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lager_elogfmt_formatter's Issues

module, function and line are logged after msg body

PEr readME.
module, function and line will be shown automatically if configured correctly.
But the log below shows that module, funciton and line are ordered after message.

code that triggered logging lager:info("start/2").

log:
app=lager_test severity=info msg="Application lager started on node '[email protected]'"
app=lager_test severity=info msg="Application lager_test started on node '[email protected]'"
app=lager_test severity=info msg="started/2" [email protected] line=24 function=start module=lager_test_app application=lager_test
app=lager_test severity=info msg="Application lager started on node '[email protected]'"
app=lager_test severity=info msg="Application lager_test started on node '[email protected]'"

rebar.config:

{deps, [
{lager, ".*", {git, "git://github.com/basho/lager.git", {tag, "3.0.2"}}},
{lager_elogfmt_formatter,
{git, "https://github.com/heroku/lager_elogfmt_formatter.git", {tag, "1.0.0"}}}
]}.

sys.config:

{lager, [
    {log_root, "./log_me"},
    {error_logger_hwm, 8192},
    {colored, false},
    {crash_log, "crash.log"},
    {crash_log_size, 0},
    {crash_log_count, 14},
    {handlers, [
      {lager_console_backend, [info, {lager_default_formatter, [date,"#",time,"#",severity,"#",node,"#",pid,"#",module,"#",function,"#",file,"#",line,"#",message,"\r\n"]}]},
      {lager_file_backend, [
        {file, "service.log"}, {level, info}, {formatter, lager_elogfmt_formatter}, {size, 0}, {date, "$D0"}, {count, 7},
            {formatter_config, [{app, "lager_test"}, "[", date, " ", time, "] severityfbkend=", severity, " module=", module," function=", function, " "," pid=", pid, " ", message, "\n"]}
        ]}
    ]}
]}

].

No tag exists for 1.0.0

The documentation indicates there is a tag for 1.0.0, which is not the case. Is this ready to be tagged at 1.0.0?

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.