remote syslog to specific file

bsd bsd at todoo.biz
Thu Dec 14 05:56:41 PST 2006


Hello,


I am trying to log my sonicwall FW log to a specific file…

For the moment all logs are sent to /var/log/messages

I would like them to go to /var/log/sonic.log


I have tried couple of things which does not seem to work, among them :

> +fw.xxx.yyy
> local0.*		/var/log/sonic.log
> +@
--> not working

> local0.*		/var/log/sonic.log
--> not working either


In /var/log/messages my log are of that format :

> Dec 14 14:50:49 fw id=firewall sn=0006Bxxx4D6C time="2006-12-14  
> 14:50:45" fw=80.98.206.97 pri=5 c=64 m=36 msg="TCP connection  
> dropped" n=183 src=80.97.99.70:3763:WAN:89-90-99-70.pde.norby.ee  
> dst=192.168.2.3:135:LAN:newmail.rmm.fr proto=tcp/135



Any help would be welcome.

________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@ todoo.biz
________________________________________________
«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

P "Please consider your environmental responsibility before printing  
this e-mail"




More information about the freebsd-questions mailing list