v2fly / discussion

5 stars 0 forks source link

How to configure V2Ray write logs to syslog #106

Open StoneMoe opened 3 years ago

StoneMoe commented 3 years ago

I can use some external program for redirecting file/NamedPipe data to syslog, but prefer to use something more elegant...

kslr commented 3 years ago

I’d be willing to review a PR if you want to contribute.

StoneMoe commented 3 years ago

I'm willing to contribute some code for this feature, but not familiar with golang and V2Ray project. Could you please give some minimal guide about what files that I need to change?

kslr commented 3 years ago

https://github.com/v2fly/v2ray-core/blob/d0ee7d2600e02643387370473d7848fa90aa7814/app/log/log_creator.go#L37