FireBrick Syslog: Difference between revisions
Appearance
Content deleted Content added
| (5 intermediate revisions by 2 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 17: | Line 19: | ||
==FireBrick Side== |
==FireBrick Side== |
||
You can do this via the web User Interface under: |
|||
Config -> Edit -> Setup -> Add (under Log target controls) |
|||
Via the XML editor, add/edit the syslog line as follows: |
|||
<syntaxhighlight> |
<syntaxhighlight> |
||
| ⚫ | |||
<log name="Syslog"> |
|||
| ⚫ | |||
</log> |
|||
</syntaxhighlight> |
</syntaxhighlight> |
||
You can set the severity to log more ( |
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]] |
[[Category:FireBrick|syslog]] |
||