# Unbound (and other programs ) logging

**URL:** <https://community.ipfire.org/t/unbound-and-other-programs-logging/654>\
**Category:** Network\
**Created:** [16 December 2019 11:47 UTC](https://community.ipfire.org/t/unbound-and-other-programs-logging/654 "2019-12-16T11:47:09Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![hellfire](https://community.ipfire.org/user_avatar/community.ipfire.org/hellfire/32/8454_2.png) [@hellfire](https://community.ipfire.org/u/hellfire)\
**Post date:** [19 September 2022 17:51 UTC](https://community.ipfire.org/t/unbound-and-other-programs-logging/654/30 "2022-09-19T17:51:17Z")

</div>

Just did some tests again and re-checked `/var/log/messages`. I noticed that HAProxy now writes proper logs into the syslog file.

Don’t ask me how this happened, I do not know. I did not change anything on my side, not even restarted IPFire, HAproxy or anything else.

An entry in `messages` now looks like. You should notice that `localhost.localdomain` disappeared and now reads `localhost`.

```auto
Sep 19 19:30:55 localhost haproxy[13742]: 100.20.194.139:46494 http_https~ collab_server/collab01 207 1821 --VN “PROPFI
ND /dav.php/calendars/family/holiday/ HTTP/1.1”

```

Wait a minute: I’ve written [here](https://bugzilla.ipfire.org/show_bug.cgi?id=12922#c18) that the file /etc/hosts looks like:

> 127.0.0.1 localhost.localdomain localhost  
> 172.17.0.1 gateway

I had a look again and now there is a totally different content!

> 127.0.0.1 localhost  
> 192.168.0.1 ipfire.ourhome ipfire  
> 172.17.0.1 gateway

So how on earth did this content found it’s way into this file?

Ah!!! A few days ago I’ve edited the hosts list in WebIf, inserted one single host. I assume that this action did re-write the file `/etc/hosts`, too. Presumably with the correct content! I do not know, so devs please check this yourself if necessary.

But why has there been some unusual content before?

---

_[View the full topic](https://community.ipfire.org/t/unbound-and-other-programs-logging/654)._
