View previous topic :: View next topic |
Author |
Message |
nitro322 Guru
Joined: 24 Jul 2002 Posts: 593 Location: USA
|
Posted: Tue Aug 13, 2002 11:59 pm Post subject: metalog |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Aug 14, 2002 12:32 am Post subject: |
|
|
killall -USR1 <program_name>
or
kill -USR1 <program_pid> |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 593 Location: USA
|
Posted: Wed Aug 14, 2002 12:47 am Post subject: |
|
|
thanks |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Wed Aug 14, 2002 1:17 am Post subject: |
|
|
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 |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 593 Location: USA
|
Posted: Wed Aug 14, 2002 1:23 am Post subject: |
|
|
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 |
|
|
Stormmind Tux's lil' helper
Joined: 11 Aug 2002 Posts: 112 Location: Sweden
|
Posted: Wed Aug 14, 2002 6:53 pm Post subject: |
|
|
Will metalog remember that or is it nessecary to "smack" it on reboot?
Cheers,
/Storm |
|
Back to top |
|
|
mdpye Tux's lil' helper
Joined: 18 Apr 2002 Posts: 102 Location: Nottingham, England
|
Posted: Wed Aug 14, 2002 7:09 pm Post subject: |
|
|
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 |
|
|
liquidx Retired Dev
Joined: 21 Aug 2002 Posts: 56 Location: London, UK
|
Posted: Wed Aug 21, 2002 8:39 am Post subject: |
|
|
afaik, if you edit /etc/conf.d/metalog and add the "-s" option, it won't do any buffering. |
|
Back to top |
|
|
|