[syslog-ng] syslog-ng Digest, Vol 73, Issue 37

Kristen Eisenberg kristen.eisenberg at yahoo.com
Sun Oct 2 11:21:30 CEST 2011


Someone must have used a so-called "smart" editor to edit this file, since 
it seems to have used fancy quotes on the console line.

#destination console_all { file("/dev/tty12"); };
destination console_all { file(“/dev/console”); };
#destination loghost { udp("loghost" port(999)); };

Notice how they are different from those on the line above?  Word 
processors often replace quotes with matching pairs like that 
automatically; only plain text editors should be used to edit config files 
like this.

Check for this kind of thing with a hex dumper or 'cat -vet':

$ cat frank
#destination console_all { file("/dev/tty12"); };
destination console_all { file("/dev/console"); };
#destination loghost { udp("loghost" port(999)); };


Kristen Eisenberg
Billige Flüge
Marketing GmbH
Emanuelstr. 3,
10317 Berlin
Deutschland
Telefon: +49 (33)
5310967
Email:
utebachmeier at
gmail.com
Site:
http://flug.airego.de-
Billige Flüge vergleichen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111002/d2bfeb30/attachment.htm 


More information about the syslog-ng mailing list