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:
+6
-1
@@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user