1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Leandro Melo de Sales wrote: |
5 |
> Hi Mark.. I made the proper changes and still not working.. :( |
6 |
> |
7 |
> # vi /etc/syslog-ng/syslog-ng.conf |
8 |
> options { |
9 |
> chain_hostnames(off); |
10 |
> sync(0); |
11 |
> perm(0640); |
12 |
> dir_perm(0750); |
13 |
> create_dirs(yes); |
14 |
> stats(43200); |
15 |
> } |
16 |
> |
17 |
> source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); }; |
18 |
> source kernsrc { pipe("/proc/kmsg"); }; |
19 |
> destination messages { file("/var/log/messages"); }; |
20 |
> destination daemon { file("/var/log/daemon.log"); }; |
21 |
> filter f_daemon { facility(daemon); }; |
22 |
> |
23 |
> destination console_all { file("/dev/tty12"); }; |
24 |
> |
25 |
> log { source(src); filter(f_daemon); destination(daemon); }; |
26 |
> log { source(src); destination(messages); }; |
27 |
> log { source(src); destination(console_all); }; |
28 |
> |
29 |
> |
30 |
> What is wrong? |
31 |
|
32 |
I assume that you restarted the service? ;-) |
33 |
|
34 |
|
35 |
(PS. The standard convention on mailing lists is to post your reply on |
36 |
the bottom of the message.) |
37 |
|
38 |
|
39 |
- -- |
40 |
Jeremy Olexa |
41 |
(olexa@××××××.edu) |
42 |
Office: EE/CS 1-201 |
43 |
CS/IT Systems Staff |
44 |
University of Minnesota |
45 |
|
46 |
-----BEGIN PGP SIGNATURE----- |
47 |
Version: GnuPG v1.4.2.2 (GNU/Linux) |
48 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
49 |
|
50 |
iD8DBQFEg0t2FN7pD9kMi/URAl7ZAJ0edMyJBPMMmnA9l8sL9jt1QOw+RACfUXzi |
51 |
IQmpfaaqX27LlFKwfqoqDZ8= |
52 |
=SV4D |
53 |
-----END PGP SIGNATURE----- |
54 |
-- |
55 |
gentoo-user@g.o mailing list |