- Writers needed:
Los Angeles
Spain
Netherlands
Berlin
Belgium - FRIGHTFEST 2010: Review of MONSTERS
- FRIGHTFEST 2010: Review of THE DEAD
- FRIGHTFEST 2010: Review of THE LOVED ONES
- FRIGHTFEST 2010: Review of THE PACK (LA MEUTE)
- FRIGHTFEST 2010: Review of RED HILL
- FRIGHTFEST 2010: Review of British hallway horror F
- FRIGHTFEST 2010: Review of PRIMAL
- Early review of NBC's upcoming THE EVENT
- More cocks than a hen house! It's our EXPENDABLES review!
- OVERLOOKED AT CANNES 2010: Review of LITTLE BABY JESUS OF FLANDR
- Review of Soderbergh's CONTAGION script
- Re: Genre Film Fest Schedule?
- Seems like an event we all should be interested in.
- Re: Paranormal Activity 2
- Re: Post-Apocalyptic Radio Dramas
- Re: Post-Apocalyptic Radio Dramas
- Re: Post-Apocalyptic Radio Dramas
- Review of Y: The Last Man
- end of the world - pixel style
- Microreview: Dies the Fire
- Re: Hello is anybody there?
- Second trailer for wannabe anaimated zombie apocalypse YEAR ZERO
- Official trailer for AMC's THE WALKING DEAD. Pilot airing October 31st!
- New stills for zombie PA comic adaptation THE WALKING DEAD. Airing October 8th?
- TIFF 2010: Brad Anderson’s VANISHING ON 7TH STREET gets a trailer
- New artwork and status update on TIMELESS!
- Retro Slave: post apocalyptic double header disc a real score for cult junkies
- Review of Soderbergh's CONTAGION script
- Stunning comic art for Joseph Kosinski's PA scifi flick OBLIVION
- First gorgeous still from German PA flick THE END OF NIGHT (DAS ENDE DER NACHT) - Roland Emmerich producing!
- Play the name game, what PA films does THE COLLAPSED sound like?
- Watch Jeunet and Marc Caro's awesome BUNKER OF THE LAST GUNSHOTS
- Family drama & horror meet in Dyer Evans' THE DAMNED
- Noomi Rapace sheds Dragon Tattoo for more family drama in the BEYOND (SVINALÄNGORNA) trailer
- Mexican alien invasion thriller SERES: GENESIS finds North American distro
- Support a PANDORUM trilogy by joining this Facebook page today!
- TIFF 2010: Adam Wingard’s A HORRIBLE WAY TO DIE has a trailer!
- FRIGHTFEST 2010: Trailer for Johannes Roberts school hall horror F
- [REC] GENESIS and APOCALYPSE on the horizon
- TIFF 2010: First clips from Bogdan George Apetri's Romanian drama OUTBOUND (PERIFERIC)
- First look at Bean, Slater, Monaghan and Rhames in SOLDIERS OF FORTUNE
- Teens, peer pressure & the ensuing drama. Trailer for Kaspar Munk’s HOLD ME TIGHT (HOLD OM MIG)
- Heads explode, literally, in PRESENCE
- Dude + fungus = POLYPORE
- SANDRIMA RISING is a fan film set in the Star Wars galaxy
- L'ETRANGE is coming!
- In development: EL BRAZO GRANDE VS. THE LIVING DEAD
- DIRK GENTLY'S HOLISTIC DETECTIVE AGENCY coming to the beeb
- International trailer for EXORCISMUS (The Possession of Emma Evans)
- TIFF 2010: Romance, heartbreak & new media. Trailer for Barbara Wong’s THE BREAK UP CLUB
- The Aussie new wave continues with SAY NOTHING
- TIFF 2010: 104 films added to complete lineup
News
Reviews
Forums
Post apocalyptic list
Misc

Join QE!
Latest Reviews
Latest Forum Posts
PA News
Older News

Posted on Wednesday, September 27th, 2006 18:22:24 GMT by: quietearth
Posted under: ubuntu syslog syslog-ng logging
I wanted to log messages from my openwrt router to a specific log file based on it's host/ip but unfortunately the regular syslog daemon will not allow this. So since I'm using ubuntu (edgy) I can easily install syslog-ng which is a pre-configured replacement for syslog/klog. First off install it, and it will remove the packages klogd, sysklogd, and ubuntu-minimal.
# apt-get install syslog-ngNow we need to modify the configuration, edit /etc/syslog-ng/syslog-ng.conf, and first we need to add udp listening to accept remote syslogs. We could do this under the s_all source, but we need to define a different source so our remote hosts logs do not get mixed in with our regular ones. Place this after source s_all is finished.
source s_net { udp (); };Now further down where logging starts, we need to first add a filter for our openwrt host and I will use it's ip to do this. Then we add a log file destination for that specific host. And after that we put in the log definition with our newly created source, our host filter, and our file destination.
filter f_openwrt { host( "192.168.1.1" ); };
destination df_openwrt { file("/var/log/openwrt.log"); };
log { source ( s_net ); filter( f_openwrt ); destination ( df_openwrt ); };Go ahead and restart syslog-ng now:
# /etc/init.d/syslog-ng restartSince we added a new logfile, we need to modify /etc/logrotate.d/syslog-ng. This will make sure our new logfile gets rolled. This entry has to go in before the last one which restarts the syslog-ng daemon. Here's what I put in:
/var/log/openwrt.log {
rotate 7
weekly
missingok
notifempty
compress
}Tested under Ubuntu edgy.
RSS Feed for commentsComments
Posted by: Andy | November 16, 2006 12:05:10 pm | permalink
Posted by: quietearth | November 16, 2006 01:37:29 pm | permalink
Posted by: Andy | November 21, 2006 03:41:05 pm | permalink
Posted by: quietearth | November 21, 2006 03:55:16 pm | permalink
Posted by: claudijd | January 24, 2007 06:59:38 pm | permalink
Posted by: MarkF | September 21, 2007 11:17:27 am | permalink
Posted by: Captain Pleased | April 28, 2008 07:34:39 pm | permalink
Posted by: Anonymous | March 12, 2009 12:58:18 pm | permalink
Posted by: JR | July 30, 2009 09:20:35 am | permalink
Posted by: Chiefs Hockey | December 17, 2009 11:50:40 am | permalink
Posted by: Anonymous | February 28, 2010 09:11:39 am | permalink
Posted by: cooba | March 10, 2010 08:32:41 am | permalink
Posted by: cooba_again | March 10, 2010 08:38:01 am | permalink
Posted by: Anonymous | April 13, 2010 05:14:25 pm | permalink
Posted by: Anonymous | August 29, 2010 01:44:05 am | permalink
Post a comment
Related articles
rss | subscribe via email | the team | contact us | mobile
© 2006-2009 Don Neumann (except where applicable)
We are looking for free hosting with a cut of sales, you'll get a link right here.
If you want news of your film posted, use our contact page and we'll check it out
Permission is granted to use material from this site if you provide a reference to us via a link and DO NOT HOTLINK.
GenreBanners.com Banner Exchange