Page 1 of 1

Chat logs

Posted: Fri Sep 15, 2017 9:14 pm
by Exmix
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?

Re: Chat logs

Posted: Fri Sep 15, 2017 9:36 pm
by The_Myth
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.

Re: Chat logs

Posted: Fri Sep 15, 2017 9:42 pm
by Exmix
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.

Re: Chat logs

Posted: Fri Sep 15, 2017 10:18 pm
by The_Myth
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.

Re: Chat logs

Posted: Sat Sep 16, 2017 2:44 am
by Exmix
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.

Re: Chat logs and how not to do them

Posted: Sun Sep 17, 2017 2:56 pm
by HeXiLeD
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.