Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Syslog: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
AA-Andrew (talk | contribs)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:2700-small.png|link=:Category:FireBrick]]

=Syslog setup=
=Syslog setup=
On a CentOS machine take these steps to get the FB to log to /var/log/local0
On a CentOS machine take these steps to get the FB to log to /var/log/local0
Line 14: Line 16:


==Windows==
==Windows==
There are various syslog 'server' programs that will receive the syslog messages from the FireBrick and display/log it. One such program is available from [http://www.boris.org.uk/|www.boris.org.uk].
There are various syslog 'server' programs that will receive the syslog messages from the FireBrick and display/log it. One such program is available from [http://www.boris.org.uk/ www.boris.org.uk].


==FireBrick Side==
==FireBrick Side==
You can do this via the web User Interface under:
Config -> Edit -> Setup -> Add (under Log target controls)


On the FireBrick, add/edit the syslog line as follows:
Via the XML editor, add/edit the syslog line as follows:
<syntaxhighlight>
<syntaxhighlight>

<syslog server="ip.of.your.server" severity="NOTICE" facility="LOCAL0"/>
<log name="Syslog">
<syslog server="ip.of.your.server" severity="NOTICE" facility="LOCAL0"/>
</log>
</syntaxhighlight>
</syntaxhighlight>


You can set the severity to log more (eg set to DEBUG), but then you'll get a log line every second! See the Docs for more info.
You can set the severity to log more (e.g. set to DEBUG), but then you'll get a log line every second! See the Docs for more info.


If you then tail /var/log/local0 you'll see log messages
If you then tail /var/log/local0 you'll see log messages


[[Category:FireBrick|syslog]]