[GH-ISSUE #1] option tcplog is not working #1

Closed
opened 2026-02-27 19:23:45 +03:00 by kerem · 1 comment
Owner

Originally created by @flik on GitHub (Jan 31, 2019).
Original GitHub issue: https://github.com/HariSekhon/HAProxy-configs/issues/1

I have used your config and everything works perfectly just this [option tcplog] is giving this warninng.

[WARNING] 030/112145 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:31] : backend 'mysql' : 'option tcplog' directive is ignored in backends.

Originally created by @flik on GitHub (Jan 31, 2019). Original GitHub issue: https://github.com/HariSekhon/HAProxy-configs/issues/1 I have used your config and everything works perfectly just this [option tcplog] is giving this warninng. `[WARNING] 030/112145 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:31] : backend 'mysql' : 'option tcplog' directive is ignored in backends.`
kerem closed this issue 2026-02-27 19:23:46 +03:00
Author
Owner

@HariSekhon commented on GitHub (Jan 31, 2019):

Thanks for raising this. It appears HAProxy used to support this directive, but removed it for backends in HAProxy 1.8.

What version of haproxy are you using, I assume 1.8 or 1.9?

Compare the section in the two versions of the manual:

https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-option%20tcplog

http://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4-option%20tcplog

I have removed all option tcplog statements from all configurations.

<!-- gh-comment-id:459502894 --> @HariSekhon commented on GitHub (Jan 31, 2019): Thanks for raising this. It appears HAProxy used to support this directive, but removed it for backends in HAProxy 1.8. What version of haproxy are you using, I assume 1.8 or 1.9? Compare the section in the two versions of the manual: https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4-option%20tcplog http://cbonte.github.io/haproxy-dconv/1.8/configuration.html#4-option%20tcplog I have removed all option tcplog statements from all configurations.
Sign in to join this conversation.
No labels
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/HAProxy-configs#1
No description provided.