Pastebin
Paste #2098: None
< previous paste - next paste>
Pasted by root@mail
## ------------------------------------------
## Generated by MetaConfig
##
## THIS FILE IS AUTOMATICALLY GENERATED.
## DO NOT EDIT. ALL CHANGES WILL BE LOST.
## ------------------------------------------
options {
chain_hostnames(0);
time_reopen(10);
time_reap(360);
log_fifo_size(2048);
create_dirs(yes);
owner(root); group(adm); perm(0640);
dir_owner(root); dir_group(adm); dir_perm(0755);
use_dns(yes);
use_fqdn(yes);
stats_freq(3600);
ts_format(iso);
frac_digits(6);
};
source s_local {
internal();
unix-stream("/dev/log" keep_timestamp(no));
file("/proc/kmsg" log_prefix("kernel: "));
};
destination dn_network { tcp("log.sikkerhed.org" template("$ISODATE $FULLHOST $MESSAGE\n") template_escape(no)); };
destination du_all { usertty("*"); };
destination df_critical { file("/var/log/critical/log-$YEAR-$MONTH-$DAY"); file("/var/log/critical/current"); };
destination df_facility { file("/var/log/$FACILITY/log-$YEAR-$MONTH-$DAY"); file("/var/log/$FACILITY/current"); };
destination df_everything { file("/var/log/everything/log-$YEAR-$MONTH-$DAY"); file("/var/log/everything/current"); };
filter f_critical { level(crit,alert,emerg); };
filter f_emerg { level(emerg); };
filter f_auth { facility(auth, authpriv) and not level(debug); };
filter f_nodebug {not level(debug); };
log { source(s_local); destination(dn_network); };
log { source(s_local); filter(f_nodebug); destination(df_everything); };
log { source(s_local); filter(f_nodebug); destination(df_facility); };
log { source(s_local); filter(f_critical); destination(df_critical); };
log { source(s_local); filter(f_emerg); destination(du_all); };
New Paste
Go to most recent paste.