Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Syslog-ng stuff
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Lnx_dork
n00b
n00b


Joined: 10 Apr 2002
Posts: 28

PostPosted: Wed Mar 05, 2003 11:07 pm    Post subject: Syslog-ng stuff Reply with quote

Is there a way to change the format that syslog-ng logs to kern.log

What I'm trying to achieve is the colon after the host for each log entry

right now a log entry looks like
Mar 5 14:50:44 cipher blah blah blah

But for log anyalzers, mainly fwanalog. It looks for the : to know where the host info ends and the log info starts.

I found a quick fix by putting the : in the first part of log-prefix in my firewall, but I would think that there is a way to alter syslog-ng. I looked through the syslog-ng page but couldn't find info on how to change the logging style or what ever you want to call it.

Any ideas?
Back to top
View user's profile Send private message
Lnx_dork
n00b
n00b


Joined: 10 Apr 2002
Posts: 28

PostPosted: Wed Mar 05, 2003 11:11 pm    Post subject: Reply with quote

Never mind.

Did a little bit more searching and realized that answer was right infront of my face.

But for anyone that's curios check out this link for how to do it

http://www.campin.net/syslog-ng/faq.html#template
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Mar 06, 2003 2:09 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum