nginx_tcp_proxy_module
nginx_tcp_proxy_module copied to clipboard
Shared log file
If I have an access log in the http section, can I use the same log file in the tcp section (I take responsibility for formatting the rows the same, its a basic log with only IPs)?
The feature of access log is only in the develop branch(https://github.com/yaoweibin/nginx_tcp_proxy_module/tree/develop).
Its feature is limited. It can't use the same log file with http. And the log format is fixed.
On 2012-6-16 22:49, splitice wrote:
If I have an access log in the http section, can I use the same log file in the tcp section (I take responsibility for formatting the rows the same, its a basic log with only IPs)?
Reply to this email directly or view it on GitHub: https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/41
Thanks for the quick reply.
Damn, unfortunate I cant use my existing parser for this module. Thanks for saving me much time (on both counts, I patched+compiled stable and was trying to format the log).
I guess Ill need to extend my script to support multiple log files and a different format. In case you cant tell im still in the writing a config generator template stage, havent tested it yet.
Just for your interest im adding this to my service, Ill be sure to report any bugs I find. Im going to be using it for tcp proxying SMTP. So far it looks like a great module (minus the missing log format feature). Thanks.
Thanks. Have fun with this module. If you know the source of Nginx, you can make a patch with this feature.
On 2012-6-16 22:58, splitice wrote:
Thanks for the quick reply.
Damn, unfortunate I cant use my existing parser for this module. Thanks for saving me much time (on both counts, I patched+compiled stable and was trying to format the log).
I guess Ill need to extend my script to support multiple log files and a different format. In case you cant tell im still in the writing a config generator template stage, havent tested it yet.
Just for your interest im adding this to my service, Ill be sure to report any bugs I find. Im going to be using it for tcp proxying SMTP. So far it looks like a great module (minus the missing log format feature). Thanks.
Reply to this email directly or view it on GitHub: https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/41#issuecomment-6373800
I would love to learn, maybe Ill look into it. Another feature that would be great is proxy_bind support (that might be something simpler that I could start with). I tried in the past to get nginx to compile in visual studio for debugging but failed, maybe its better now that igor maintains nginx for windows.
I don't know. Igor doesn't like Windows. Maybe the Nginx company will do.
On 2012/6/18 0:33, splitice wrote:
I would love to learn, maybe Ill look into it. Another feature that would be great is proxy_bind support (that might be something simpler that I could start with). I tried in the past to get nginx to compile in visual studio for debugging but failed, maybe its better now that igor maintains nginx for windows.
Reply to this email directly or view it on GitHub: https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/41#issuecomment-6382482