tintoy / seqlog

Python logging integration for Seq (https://getseq.net)
https://seqlog.readthedocs.io/
MIT License
17 stars 11 forks source link

Can't pass a value for batch_size when Configuring logging from a dictionary. #50

Closed DaveNankervis closed 1 year ago

DaveNankervis commented 1 year ago

I've explored the package and can't seem to find a way to pass the batch_size value.

tintoy commented 1 year ago

Sorry, I'm still at work; I'll try to have a look at this later tonight when I get home 🙂

tintoy commented 1 year ago

Sorry for the delay; work has been pretty full-on this week!

Have a look at https://github.com/tintoy/seqlog/blob/226a3af4434628b076e343ac62f3ce48ff054891/docs/usage-gunicorn.rst (see the bit about api/log_config.yml).

DaveNankervis commented 1 year ago

@tintoy that's no problem at all! I appreciate your help. I ended up getting it to work after checking the link.