You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
name changes
This commit is contained in:
78
oam/install_scripts/columnstoreSyslog-ng
Executable file
78
oam/install_scripts/columnstoreSyslog-ng
Executable file
@ -0,0 +1,78 @@
|
||||
# Calpont Database Platform Logging
|
||||
|
||||
source s_infinidb {
|
||||
# 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/Calpont/crit.log");
|
||||
};
|
||||
|
||||
destination d_err{
|
||||
file("/var/log/Calpont/err.log");
|
||||
};
|
||||
|
||||
destination d_warning{
|
||||
file("/var/log/Calpont/warning.log");
|
||||
};
|
||||
|
||||
destination d_info{
|
||||
file("/var/log/Calpont/info.log");
|
||||
};
|
||||
|
||||
destination d_debug{
|
||||
file("/var/log/Calpont/debug.log");
|
||||
};
|
||||
|
||||
destination d_data_mods{
|
||||
file("/var/log/Calpont/data/data_mods.log");
|
||||
};
|
||||
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local1crit);
|
||||
destination(d_crit);
|
||||
};
|
||||
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local1err);
|
||||
destination(d_err);
|
||||
};
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local1warning);
|
||||
destination(d_warning);
|
||||
};
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local1info);
|
||||
destination(d_info);
|
||||
};
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local1debug);
|
||||
destination(d_debug);
|
||||
};
|
||||
log{
|
||||
source(s_infinidb);
|
||||
filter(f_local2crit);
|
||||
destination(d_data_mods);
|
||||
};
|
||||
|
Reference in New Issue
Block a user