Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Real metalog config file?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
BuzB
n00b
n00b


Joined: 22 Oct 2002
Posts: 6
Location: Bellevue NE

PostPosted: Fri Oct 25, 2002 1:56 am    Post subject: Real metalog config file? Reply with quote

Which config file does Metalog really use?

The man page suggests /etc/metalog/metalog.conf
But looking at the code /etc/init.d/metalog it references /etc/conf.d/metalog.

/etc/conf.d/metalog has the following:

# Config file for /etc/init.d/metalog

# Add '-s' if you dont want buffering. (See things realtime)
METALOG_OPTS="-B"

Anybody have an idea what the "-B" option is?

Could this be why some of my log files do rotate, but not others?

My system: P150, 128Mb RAM, running 2.4.19-gentoo-r9

Thanks--BuzB
Back to top
View user's profile Send private message
jondkent
Apprentice
Apprentice


Joined: 26 Jul 2002
Posts: 289
Location: London

PostPosted: Fri Oct 25, 2002 3:15 pm    Post subject: Reply with quote

Hi,

OK -B means daemonize (run metalog --help)

My metalog.conf is in /etc/metalog/metalog.conf

Hope that helps

Jon
Back to top
View user's profile Send private message
BuzB
n00b
n00b


Joined: 22 Oct 2002
Posts: 6
Location: Bellevue NE

PostPosted: Fri Oct 25, 2002 10:49 pm    Post subject: Reply with quote

jondkent wrote:
Hi,

OK -B means daemonize (run metalog --help)

My metalog.conf is in /etc/metalog/metalog.conf

Hope that helps

Jon


Thanks--:oops:--after I posted I ran "metalog --help" and noticed what the -B was for.

I also have a /etc/metalog/metalog.conf, that is what I've been making changes to, however looking at the /etc/init.d/metalog script it has the following reference:

# NB: Config is in /etc/conf.d/metalog

Just wondering which it really uses.

Apparently I have some logs that rotate regularly, but others (like mysql) don't. Any idea how to get metalog to perform this?
Back to top
View user's profile Send private message
jondkent
Apprentice
Apprentice


Joined: 26 Jul 2002
Posts: 289
Location: London

PostPosted: Sun Oct 27, 2002 11:18 am    Post subject: Reply with quote

Hi,

There do seem to be a few comments such as the location of the config file in scripts etc which are not correct. As you have noticed this I would recommend that you post a bug report to ensure that the code is keep clean and is not missleading.

As for how to configure Metalog I afraid that I'm not guru on that, hopefully there is some documentation in /usr/share/doc or on the web. Sorry I can't help you directly on that :(

Jon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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