Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ULOG file getting big...
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
Iron_DragonLord
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273

PostPosted: Mon May 09, 2005 6:50 pm    Post subject: ULOG file getting big... Reply with quote

Hey, how do I get ULOG/IPTABLES to log to another file when the main one gets too big, or any way to have the log file automatically shorten.

I didn't seem to have a '$man ulog' so I was a bit clueless...

Currently my ulog file is 16,000 lines. It loads pretty fast, but it's just a pain scrolling to the bottom.

Any help is appreciated, thanks.
Back to top
View user's profile Send private message
LordArthas
Guru
Guru


Joined: 01 Nov 2004
Posts: 500
Location: Maniago, Friûl, Italia

PostPosted: Mon May 09, 2005 7:09 pm    Post subject: Reply with quote

Hi!

You may rotate it using a tool such as logrotate.

Hope this helps, Michele.
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