Handling logging issues
I'm using cronolog for my apache logs, and I really, really like it. I'd like to be able to use it on the slash logs as well, which become large and cumbersome over time with many sites running on a server. How do you all handle your logs? What do you use for log rotation? How long do you keep logs? Is anyone using cronolog, or something like it with slash?
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.



Why? (Score:2)
I like webalizer cause it's free, and gives you some stats that slash software doesn't do.
--
It's either on the beat or off the beat, it's that easy.
Re:Why? (Score:2)
"How about you interface with my ass? By biting it!" --Bender
logrotate (Score:2)
/var/log/http/www.lottadot.com/access_ log {
daily
errors webmaster@lottadot.com
postrotate
DAY=$(date -d 'yesterday' '+%m_%d_%y')
mv
t.com/access_$DAY.log
endscript
}
lottadot [lottadot.com]
Re:logrotate (Score:2)
"How about you interface with my ass? By biting it!" --Bender
slashd hanging (Score:2)
I've been running the same code for about a year, the only thing I did recently was upgrade the kernel (RedHat):
2.
Re:slashd hanging (Score:2)
"How about you interface with my ass? By biting it!" --Bender
Re:slashd hanging (Score:2)
Yikes (Score:2)
"How about you interface with my ass? By biting it!" --Bender
Re:Yikes (Score:2)
I heard about this upgrade script a few weeks ago I think. I'll be looking for it!
Re:Yikes (Score:2)
"How about you interface with my ass? By biting it!" --Bender
Re:slashd hanging (Score:2)
But there are quite a few people who didn't have such problems that vlad and his crew did.
I did my 4 or 5 sites, in roughly a week, tinkering with it in the evenings. Most of my time was spent meshing changes that I'd done to both the slash src and my plugins. Templates were a joy to do, but for each site it only took about a half hour to diff the template changes and reimplement them into the newly upgraded sites.
Setup a second
lottadot [lottadot.com]
Re:slashd hanging (Score:2)
The transitions from 1.0x to 2.0 and also from 2.0 to 2.2 went well, thanks to the Slash crew's upgrade scripts. I definitely want to move up to the latest, it is just a question of when to pull the trigger and start