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