Status/Logging: Filter out localhost and some others?

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
User avatar
M*I*B
Normal user
Normal user
Posts: 179
Joined: 2008-12-30 19:09
Location: Germany
Contact:

Status/Logging: Filter out localhost and some others?

Post by M*I*B » 2021-10-19 15:53

When working with the Live Log function, it is extremely annoying if, for example, the webmailer or your own client crumbles the LOG. Then you often overlook things that you are waiting for.

Would it be possible somehow to exclude localhost (127.0.0.1) and possibly one or more IP addresses from logging?
... with much greetings ...

Micha

palinka
Senior user
Senior user
Posts: 3108
Joined: 2017-09-12 17:57

Re: Status/Logging: Filter out localhost and some others?

Post by palinka » 2021-10-19 16:55

Try running your log through this: https://log.damnation.org.uk/

User avatar
M*I*B
Normal user
Normal user
Posts: 179
Joined: 2008-12-30 19:09
Location: Germany
Contact:

Re: Status/Logging: Filter out localhost and some others?

Post by M*I*B » 2021-10-19 18:43

... ty for that ... Looks good ... But isn't a live view :wink:

My question was about the LiveView built into HMS. This is often very useful to follow in near real time what is happening and what is not working, e.g. if a client is sporadically unable to log in.
... with much greetings ...

Micha

mikedibella
Senior user
Senior user
Posts: 634
Joined: 2016-12-08 02:21

Re: Status/Logging: Filter out localhost and some others?

Post by mikedibella » 2021-10-19 19:01

If you right-click on an entry in the live view it will filter that session only.

User avatar
M*I*B
Normal user
Normal user
Posts: 179
Joined: 2008-12-30 19:09
Location: Germany
Contact:

Re: Status/Logging: Filter out localhost and some others?

Post by M*I*B » 2021-10-19 19:17

... uhhh! That I have'nt know before... Thanx... That I will try ...
... with much greetings ...

Micha

User avatar
katip
Senior user
Senior user
Posts: 977
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Status/Logging: Filter out localhost and some others?

Post by katip » 2021-10-19 19:20

use Snaketail, colorize what you want as you like.
http://snakenest.com/2014/snaketail-ver-1-9-released/
Katip
--
HMS 5.7.0, MariaDB 10.4.10, SA 3.4.4, ClamAV 0.103.2

User avatar
mattg
Moderator
Moderator
Posts: 21684
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Status/Logging: Filter out localhost and some others?

Post by mattg » 2021-10-20 01:17

I use BareTail
https://www.baremetalsoft.com/baretail/

i also write lots of custom logs
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
jimimaseye
Moderator
Moderator
Posts: 9286
Joined: 2011-09-08 17:48

Re: Status/Logging: Filter out localhost and some others?

Post by jimimaseye » 2021-10-20 08:47

mattg wrote:
2021-10-20 01:17
I use BareTail
https://www.baremetalsoft.com/baretail/

i also write lots of custom logs
There is also a vbscript here on the forum that does the same thing (real-time update). You can use that to react to different custom conditions if you wish.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
M*I*B
Normal user
Normal user
Posts: 179
Joined: 2008-12-30 19:09
Location: Germany
Contact:

Re: Status/Logging: Filter out localhost and some others?

Post by M*I*B » 2021-10-20 09:07

... ty all. I'll check out all of the suggestions
... with much greetings ...

Micha

Post Reply