# Logging mystery

**URL:** <https://discourse.haproxy.org/t/logging-mystery/9252>\
**Category:** Help!\
**Created:** [November 21, 2023, 11:44am UTC](https://discourse.haproxy.org/t/logging-mystery/9252 "2023-11-21T11:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chriskuku](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chriskuku](https://discourse.haproxy.org/u/chriskuku)\
**Post date:** [November 21, 2023, 11:44am UTC](https://discourse.haproxy.org/t/logging-mystery/9252/1 "2023-11-21T11:44:17Z")

</div>

Haproxy 2.8  
Ubuntu 22.04

I’m assuming that haproxy logs into `/var/log/haproxy/haproxy.log`.  
I see logs there. But not everytime. Sometimes I see no logs at all although I’m initiating a request from my browser at home when I connect to my server under test.  
This is `tail -f /var/log/haproxy/haproxy.log` after I did a `service haproxy reload`.  
Then I did a `telnet www.mydomain.org 80` and got the following:

```auto
root@mail:/var/log/haproxy# tail -f haproxy.log 
Nov 21 12:24:24 mail haproxy[141126]: [WARNING] (141126) : Proxy cmssite stopped (cumulated conns: FE: 0, BE: 28).
Nov 21 12:24:24 mail haproxy[141126]: Proxy website stopped (cumulated conns: FE: 0, BE: 462).
Nov 21 12:24:24 mail haproxy[141126]: Proxy cmssite stopped (cumulated conns: FE: 0, BE: 28).
Nov 21 12:24:24 mail haproxy[141124]: [NOTICE] (141124) : haproxy version is 2.8.3-d6e5cd-70
Nov 21 12:24:24 mail haproxy[141124]: [NOTICE] (141124) : path to executable is /usr/sbin/haproxy
Nov 21 12:24:24 mail haproxy[141124]: [WARNING] (141124) : Former worker (141126) exited with code 0 (Exit)
Nov 21 12:24:24 mail haproxy[141126]: Proxy cmssite stopped (cumulated conns: FE: 0, BE: 28).
Nov 21 12:28:08 mail haproxy[168213]: <myserverip>:53419 [21/Nov/2023:12:28:03.600] http-in/2: SSL handshake failure (error:0A00009C:SSL routines::http request)
Nov 21 12:28:08 mail haproxy[168213]: <myserverip>:53419 [21/Nov/2023:12:28:03.600] http-in/2: SSL handshake failure (error:0A00009C:SSL routines::http request)
Nov 21 12:28:16 mail haproxy[168213]: <myserverip>:53421 [21/Nov/2023:12:28:13.322] http-in http-in/<NOSRV> -1/-1/3603 0 PR 2/2/0/0/0 0/0
Nov 21 12:28:16 mail haproxy[168213]: <myserverip>:53421 [21/Nov/2023:12:28:13.322] http-in http-in/<NOSRV> -1/-1/3603 0 PR 2/2/0/0/0 0/0
Nov 21 12:29:08 mail haproxy[168213]: <some_unknown_site>:53504 [21/Nov/2023:12:29:08.911] http-in/2: SSL handshake failure (error:0A00018C:SSL routines::version too low)

```

Sure, I’m connecting through port 80, but shouldn’t that be redirected to https?

And the funny thing: I don’t see any traces in the log from my browser accesses to the site, when entering  
`http://www.mydomain.org/`

---

<div class="post-metadata">

**Author:** ![chriskuku](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chriskuku](https://discourse.haproxy.org/u/chriskuku)\
**Post date:** [November 22, 2023, 12:20pm UTC](https://discourse.haproxy.org/t/logging-mystery/9252/2 "2023-11-22T12:20:03Z")

</div>

Found the possible cause. I had

```auto
    option dontlog-normal
    option dontlognull

```

in my haproxy.cfg. Looks like these prevented any logs of normal connections.
