Comments (8)
I'm planning to do something like this, but more powerful. I just haven't had the time to get around to implementing it.
Instead of logging to a particular file, you'll specify some 'attributes' for the log message, eg. vhost, vnode, requestID, etc and then you'll set up filters on the output files so that you can create logfiles that log for a particular vhost, if you wish.
from lager.
sounds great.
from lager.
Any ideas when we will see this very cool feature?
from lager.
There's an initial implementation over in https://github.com/basho/lager/tree/adt-atomic-tracer . It has a few remaining rough edges and I need to write some documentation, but hopefully it'll be up for review in the next week or so.
from lager.
Thank you very much! I am really looking for a logging solution. At the moment I use SASL and elogger https://github.com/etnt/elogger. I use elogger mostly because of its performance. It is fast because because it is based on disk_log
So, I want to know if you did any load tests over Lager?
from lager.
Alright, the tracing stuff has been merged into master now. Let me know if it works/doesn't work for you.
I do have a lager benchmark blog post cooking on the back burner, although I didn't test elogger, I might add it to the list.
from lager.
Looking forward for your blog post! Could you provide me a link, so I subscribe for it please?
from lager.
andrew.hijacked.us, although I think it'll end up reposted on the basho blog as well.
from lager.
Related Issues (20)
- Here's a suggestion
- .
- new release HOT 1
- Here's a suggestion HOT 2
- when print record format by lager:pr which has binary value, need space after '='
- Lager with Erl24 HOT 1
- Resolve relative log_root to absolute on boot HOT 1
- 'line' is a tuple on OTP-24 HOT 14
- variable '__Levelfoo_app13' unsafe in 'case'
- qlc.hrl causes lager to produce "Warning: a term is constructed, but never used" HOT 3
- Upgrade to rebar3 HOT 2
- lager is stuck on lager:do_log_impl HOT 9
- Directory "test" missing in hex.pm package
- Lager process is having a huge queue length HOT 1
- How to get log level in dynamic metadata? HOT 1
- Is this project alive ? HOT 3
- Confusing behaviour with eunit tests
- How about extracting file writing to a process?
- An Invaild integer syntax tuple in lager_transform.erl
- Lager version 3.5.2, issue of excessive memory usage HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lager.