Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
metalog
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
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 593
Location: USA

PostPosted: Tue Aug 13, 2002 11:59 pm    Post subject: metalog Reply with quote

Anyone know how to get Metalog to log in real-time rather than in bursts? I found this:
Quote:
If you want to watch activity in real-time (like a good old "tail -f" on a
log file), you can temporary disable buffering. Just send an USR1 signal to
the "MASTER" process. You can re-enable buffering afterwards, by sending an USR2 signal.

but really that doesn't tell me anything at all. What's USR1 and USR2, and how exactly to I "send" them to the process? Thanks.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Aug 14, 2002 12:32 am    Post subject: Reply with quote

killall -USR1 <program_name>

or

kill -USR1 <program_pid>
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 593
Location: USA

PostPosted: Wed Aug 14, 2002 12:47 am    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed Aug 14, 2002 1:17 am    Post subject: Reply with quote

they make a note of that in the install instructions, just to let ya know.

Little tid-bits of information floating around :)
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 593
Location: USA

PostPosted: Wed Aug 14, 2002 1:23 am    Post subject: Reply with quote

arkane wrote:
they make a note of that in the install instructions, just to let ya know.

Yeah, I did see that, but it just says the same thing "send USR1 to it." Like I said, that didn't really tell me a whole lot. Must just be slow today... :)
Back to top
View user's profile Send private message
Stormmind
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2002
Posts: 112
Location: Sweden

PostPosted: Wed Aug 14, 2002 6:53 pm    Post subject: Reply with quote

Will metalog remember that or is it nessecary to "smack" it on reboot?

Cheers,
/Storm
Back to top
View user's profile Send private message
mdpye
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 102
Location: Nottingham, England

PostPosted: Wed Aug 14, 2002 7:09 pm    Post subject: Reply with quote

Stormmind wrote:
Will metalog remember that or is it nessecary to "smack" it on reboot?

Cheers,
/Storm


It will need "smacking". If you want real time logging use a different logger, part of the metalog tradeoff for its high performance is the burst writing. Turing it off every time you boot defeats the point of using metalog at all, you would probably find syslog-ng more powerful. :)
_________________
Cheers, MP
Back to top
View user's profile Send private message
liquidx
Retired Dev
Retired Dev


Joined: 21 Aug 2002
Posts: 56
Location: London, UK

PostPosted: Wed Aug 21, 2002 8:39 am    Post subject: Reply with quote

afaik, if you edit /etc/conf.d/metalog and add the "-s" option, it won't do any buffering.
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