You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
71 lines
1.8 KiB
Plaintext
Executable File
71 lines
1.8 KiB
Plaintext
Executable File
# MariaDB Columnstore Database Platform Logging
|
|
|
|
source s_columnstore {
|
|
# message generated by Syslog-NG
|
|
internal();
|
|
# standard Linux log source (this is the default place for the syslog()
|
|
# function to send logs to)
|
|
unix-stream("/dev/log");
|
|
# messages from the kernel
|
|
file("/proc/kmsg" log_prefix("kernel: "));
|
|
# use the following line if you want to receive remote UDP logging messages
|
|
# (this is equivalent to the "-r" syslogd flag)
|
|
# udp();
|
|
};
|
|
|
|
filter f_local1crit { facility(local1) and level(crit); };
|
|
filter f_local1err { facility(local1) and level(err); };
|
|
filter f_local1warning { facility(local1) and level(warning); };
|
|
filter f_local1info { facility(local1) and level(info); };
|
|
filter f_local1debug { facility(local1) and level(debug); };
|
|
filter f_local2crit { facility(local2) and level(crit); };
|
|
|
|
destination d_crit{
|
|
file("/var/log/mariadb/columnstore/crit.log");
|
|
};
|
|
|
|
destination d_err{
|
|
file("/var/log/mariadb/columnstore/err.log");
|
|
};
|
|
|
|
destination d_warning{
|
|
file("/var/log/mariadb/columnstore/warning.log");
|
|
};
|
|
|
|
destination d_info{
|
|
file("/var/log/mariadb/columnstore/info.log");
|
|
};
|
|
|
|
destination d_debug{
|
|
file("/var/log/mariadb/columnstore/debug.log");
|
|
};
|
|
|
|
|
|
log{
|
|
source(s_columnstore);
|
|
filter(f_local1crit);
|
|
destination(d_crit);
|
|
};
|
|
|
|
log{
|
|
source(s_columnstore);
|
|
filter(f_local1err);
|
|
destination(d_err);
|
|
};
|
|
log{
|
|
source(s_columnstore);
|
|
filter(f_local1warning);
|
|
destination(d_warning);
|
|
};
|
|
log{
|
|
source(s_columnstore);
|
|
filter(f_local1info);
|
|
destination(d_info);
|
|
};
|
|
log{
|
|
source(s_columnstore);
|
|
filter(f_local1debug);
|
|
destination(d_debug);
|
|
};
|
|
|