1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 03:06:37 +02:00

log { } now uses the new log system and is used for logging to disk,

snomasks, opers, global (remote), ..

For disk logs we currently ignore the sources and log everything.

NOTE: REHASH is untested and will memory leak for sure.
This commit is contained in:
Bram Matthys
2021-08-07 13:02:56 +02:00
parent b8837844fb
commit e59cd278cd
4 changed files with 76 additions and 177 deletions
+6 -1
View File
@@ -274,8 +274,13 @@ struct LogSource {
typedef struct Log Log;
struct Log {
Log *prev, *next;
char destination[CHANNELLEN+1];
LogSource *sources;
char destination[CHANNELLEN+1];
char *file;
char *filefmt;
long maxsize;
int type;
int logfd;
};
/*