ArroyoSystems / arroyo

Distributed stream processing engine in Rust
https://arroyo.dev
Apache License 2.0
3.81k stars 220 forks source link

feat: add line number and file info in log message #709

Closed zhuliquan closed 1 month ago

zhuliquan commented 3 months ago

Adding line number and file info in log message, it's helpful for debugging

zhuliquan commented 2 months ago

Thanks for the contribution! I don't think we want this enabled by default, as it's not relevant to most users. I'd be happy to accept it if it were enabled with a config setting.

Hi, I add two option for logging file line number and file name

https://github.com/zhuliquan/arroyo/blob/18cbc4d6ef0c2bad6585af32bc5d7a81339e54af/crates/arroyo-rpc/src/config.rs#L634-L641