Trimming the Apache log

Home

Trimming the Apache log

Mar42004

Been a while since I wrote something that will be of no interest at all to anyone reading, so here's something as a reminder to me, here's what I did to trim the size of my log files

SetEnvIf Request_URI "..css$" dontlog
SetEnvIf Request_URI "..js$" dontlog
SetEnvIf Request_URI "..jpg$" dontlog
SetEnvIf Request_URI "..gif$" dontlog
SetEnvIf Request_URI "..ico$" dontlog

CustomLog "|/usr/local/bin/cronolog /logs/%Y/%m/%d/custom.log" bodgedCombined env=!dontlog

So now it doesn't log things I'm not bothered about counting, which saves a load of disk space... Also I've fiddled with my date entering javascript, not entirely happy with it though.

Also, OOOH! Little guitar and beer bottle icons clarkeology.com/folkestoned/

:: :: Comment / reply

Paul Clarke's blog - I live and work near Folkestone. Married to Clare and father to Harry, I am a web dev, and I like javascript, PHP, Folkestone Gerald, pubs, restaurants, history, genealogy, TV, music, popbitch, squirrels, pirates ☠, time travel, stained glass...

Also from the same week

Some more blog posts from the same week as .

Weekender [Monday 1 March 2004]

Oscars results [Monday 1 March 2004]

Reading and Leeds festival tickets on sale now, GET IN! Reading + Leeds fest... [Monday 1 March 2004]

How to live on a boat [Monday 1 March 2004]

Pet Shop Boys / Turbonegro / Iggy Pop / Barfly This press release jams a lot in! [Tuesday 2 March 2004]

DIY IPOD battery pack [Tuesday 2 March 2004]

Ghost of the Robot [Tuesday 2 March 2004]

RE: stellastarr* [Tuesday 2 March 2004]

RE: Pixies Tickets [Tuesday 2 March 2004]

RE: Sir or Madam, [Tuesday 2 March 2004]

Contracts [Wednesday 3 March 2004]

Morrissey Meltdown For me, this is a privilege and I will rise to it. Curating Meltdown is a great opportunity for me to acknowledge some of the music and words that have excited me over the years. Some of you have Ipods, I have Meltdown. [Wednesday 3 March 2004]

RE: Pirates of the Caribbean MISSTEAKS (and spoilers) [Wednesday 3 March 2004]

Trimming the Apache log [Thursday 4 March 2004]

Engadget [Thursday 4 March 2004]

The Return of the Fighting Cocks [Thursday 4 March 2004]

RE: query from Eastern Europe [Thursday 4 March 2004]

Anapod update [Friday 5 March 2004]

RE: Engadget [Friday 5 March 2004]

RE: Sir or Madam, [Friday 5 March 2004]

More Pixies tickets [Friday 5 March 2004]

Big Press Release Manchester, so much to answer for... [Friday 5 March 2004]

RE: More Pixies tickets [Friday 5 March 2004]

More Than Here Another new band to popex... [Friday 5 March 2004]

Words of Waldman [Friday 5 March 2004]

It's not a hoax [Friday 5 March 2004]

Ha, neither! [Friday 5 March 2004]

The Cure review [Saturday 6 March 2004]

Cure review They played their hearts out, but not playing Glastonbury... [Saturday 6 March 2004]

RE: The Cure review [Sunday 7 March 2004]

Save the 73 [Wednesday 28 January 2004]

Warner Village Islington [Sunday 17 August 2003]

Pirates of the Caribbean is ace [Sunday 17 August 2003]

Pirates of the Caribbean MISSTEAKS (and spoilers) [Monday 18 August 2003]

Keira Knightly Masturbation Stories [Monday 1 September 2003]

Stoke Newington Cinema [Monday 1 September 2003]

stellastarr* [Monday 24 November 2003]

Baby, baby, where did the month go? [Monday 24 November 2003]

RE: stellastarr* [Monday 24 November 2003]

RE: stellastarr* [Monday 24 November 2003]

stellastarr* [Tuesday 25 November 2003]

RE: stellastarr* [Thursday 27 November 2003]

Pirates of the Caribbean DVD [Sunday 30 November 2003]

Good work [Monday 1 December 2003]

Squirrel vs Magpie [Wednesday 10 December 2003]

Sir or Madam, [Wednesday 10 December 2003]

RE: Sir or Madam, [Sunday 21 December 2003]

RE: Sending Marketing Materials to Slovakia [Monday 22 December 2003]

RE: Sending Marketing Materials to Slovakia [Sunday 28 December 2003]

RE: Sir or Madam, [Monday 5 January 2004]

Pirates of the Caribbean game [Saturday 3 January 2004]

Keira Knightly Wallpaper [Thursday 8 January 2004]

RE: Sending Paper to Slovakia [Wednesday 14 January 2004]

RE: Sir or Madam, [Thursday 22 January 2004]

RE: Sir or Madam, [Thursday 22 January 2004]

RE: Squirrel vs Magpie [Monday 26 January 2004]

RE: Save the 73 [Wednesday 28 January 2004]

I will save you an issue [Wednesday 28 January 2004]

RE: stellastarr* [Wednesday 28 January 2004]

Hi Moker [Thursday 29 January 2004]

RE: Hi Moker [Friday 30 January 2004]

Stellastarr new tour [Saturday 31 January 2004]

RE: Sir or Madam, [Sunday 1 February 2004]

RE: Sir or Madam, [Sunday 1 February 2004]

RE: Larry Kovacs, [Tuesday 3 February 2004]

RE: Sir or Madam, [Tuesday 3 February 2004]

THIS IS NOT LARRY KOVACS SITE [Tuesday 3 February 2004]

Pixies Tickets [Wednesday 11 February 2004]

RE: Pixies Tickets [Wednesday 11 February 2004]

Sorry to hear that man [Wednesday 11 February 2004]

RE: Pixies Tickets [Friday 27 February 2004]

If you're going to be like that... [Sunday 7 March 2004]

RE: The Cure review [Monday 8 March 2004]

RE: The Cure review [Monday 8 March 2004]

RE: The Cure review [Monday 8 March 2004]

Yeah but no but, I am a REAL FAN!!! [Monday 8 March 2004]

RE: Yeah but no but, I am a REAL FAN!!! [Monday 8 March 2004]

Yeah shes rite [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

RE: The Cure review [Tuesday 9 March 2004]

The Cure [Tuesday 9 March 2004]

who? [Tuesday 9 March 2004]

RE: who? [Tuesday 9 March 2004]

Pauly, King of the Ligers [Tuesday 9 March 2004]

RE: The Cure [Tuesday 9 March 2004]

RE: The Cure [Wednesday 10 March 2004]

RE: THIS IS NOT LARRY KOVACS SITE [Sunday 14 March 2004]

RE: Pauly, King of the Tigers [Wednesday 31 March 2004]

RE: Keira Knightly Wallpaper [Saturday 19 June 2004]

miriam [Monday 28 June 2004]

electronic pen [Monday 27 December 2004]

gizmodo - gadgets galore [Wednesday 9 February 2005]

New Home Of Me and My Monkey [Wednesday 16 February 2005]

so funny! [Thursday 17 February 2005]

Sam's Archive [Monday 21 February 2005]

Ligers [Friday 24 June 2005]