Chat logs

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
Exmix
Posts: 3
Joined: Fri Sep 15, 2017 9:11 pm

Chat logs

Post by Exmix » Fri Sep 15, 2017 9:14 pm

So, I have my server setup and such but I don't want it to save any chat logs. I did some looking around and from what I have read, it doesn't do that by default. When I log into my server from the HexChat client, I still see old messages(Most recent is from 3 hours ago). Is there any way that when someone logs in it won't show old messages or will it automatically delete old messages after a set period of time or?

The_Myth
Posts: 27
Joined: Tue Jun 27, 2017 4:42 pm

Re: Chat logs

Post by The_Myth » Fri Sep 15, 2017 9:36 pm

AFAIK, that's a behaviour of HexChat. it have its own log system and will always display old messages. unless you use some kind of bouncer (like znc), then it will send the last X lines stored while you're gone.
PeGaSuS

Exmix
Posts: 3
Joined: Fri Sep 15, 2017 9:11 pm

Re: Chat logs

Post by Exmix » Fri Sep 15, 2017 9:42 pm

The_Myth wrote:
Fri Sep 15, 2017 9:36 pm
AFAIK, that's a behaviour of HexChat. it have its own log system and will always display old messages. unless you use some kind of bouncer (like znc), then it will send the last X lines stored while you're gone.
Is the ZNC a module of UnrealIRCd or? Im sure if I search for "znc" i'll get a million and one different results.

The_Myth
Posts: 27
Joined: Tue Jun 27, 2017 4:42 pm

Re: Chat logs

Post by The_Myth » Fri Sep 15, 2017 10:18 pm

no. znc is a piece of software that keeps your nickname always online. but if you don't know it I assume you don't use it. so, my hint, goes to the HexChat log system being enabled.
PeGaSuS

Exmix
Posts: 3
Joined: Fri Sep 15, 2017 9:11 pm

Re: Chat logs

Post by Exmix » Sat Sep 16, 2017 2:44 am

From what I had read it's HexChat that saves the chat on your PC's harddrive, not the server. So it's just a setting(I assume) with HexChat.

HeXiLeD
Posts: 31
Joined: Mon Jan 16, 2017 8:07 pm
Location: online

Re: Chat logs and how not to do them

Post by HeXiLeD » Sun Sep 17, 2017 2:56 pm

This is probably all of what you want or at least a good start.
If we have no logs we cannot answer questions because we simply don't know.

On hexchat:

Code: Select all

/set irc_logging off
/set stamp_log off
/set stamp_text off
/set url_logging off
/set url_grabber off
On unrealircd:

Code: Select all

# https://unrealircd.org/docs/Log_block

# If we have no logs we cannot answer questions
#

# log "<filename>" {
#        flags {
#                <flag>;
#                <flag>;
#                ...
#        };
#        maxsize <max-file-size>; /* OPTIONAL */
# };

#log "/some/path/to/logs/connects.log" {
#        maxsize 5mb;
#        flags {
#                connects;
# };
#};

log "/some/path/to/logs/error.log" {
        maxsize 5mb;
        flags {
                errors;
 };
};

log "/some/path/to/logs/kills.log" {
        maxsize 5mb;
        flags {
                kills;
 };
};

log "/some/path/to/logs/tkl.log" {
        maxsize 5mb;
        flags {
                tkl; };
};

#log "/some/path/to/logs/server-connects.log" {
#        maxsize 5mb;
#        flags {
#                server-connects;
# };
#};

log "/some/path/to/logs/kline.log" {
        maxsize 5mb;
        flags {
                kline;
 };
};

#log "/some/path/to/logs/oper.log" {
#        maxsize 5mb;
#        flags {
#                oper;
# };
#};

log "/some/path/to/logs/sadmin-commands.log" {
        maxsize 5mb;
        flags {
                sadmin-commands;
 };
};

log "/some/path/to/logs/chg-commands.log" {
        maxsize 5mb;
        flags {
                chg-commands;
 };
};

log "/some/path/to/logs/oper-override.log" {
        maxsize 5mb;
        flags {
                oper-override;
 };
};

log "/some/path/to/logs/spamfilter.log" {
        maxsize 5mb;
        flags {
                spamfilter;
 };
};
Customize as per need.

Doing logs/screenshots on chats is the same as carrying a recorder in the pocket and and hold it into peoples faces while having it on every time we talk to someone

You may also want to look into how your OS records unrealircd activity and bash history ;)

There are other ways to have control of everything needed to be controlled to solve problems.
Constructive criticism leads to evolution and progress. Negative criticism leads to obsolescence. We should not be living in 1990s irc management & developing standards just because it was cool.

Post Reply