Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
metalog issues
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
vicay
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 97
Location: Dresden, Germany

PostPosted: Fri May 03, 2002 7:46 am    Post subject: metalog issues Reply with quote

i have a metalog as syslogd/klogd replacement running on
my gentoo-box. I really like the metalog system - well designed
and works fine too - no need for slow cron-scripts doing the
logfilerotation anymore. But how can i direct logdata to a console?
I really would like to see the data from /var/log/everything/current
on my /dev/vc/10. Is there a good way how this can be accomplished?

TIA

vicay
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat May 04, 2002 1:22 pm    Post subject: Reply with quote

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.

Quote:
- '-c <xxx>' or '--consolelevel=<xxx>' : set the console log level on
Linux. Valid values are from 0 to 7. The default is 7.

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
vicay
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2002
Posts: 97
Location: Dresden, Germany

PostPosted: Sat May 04, 2002 8:47 pm    Post subject: Reply with quote

AutoBot wrote:
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.

Quote:
- '-c <xxx>' or '--consolelevel=<xxx>' : set the console log level on
Linux. Valid values are from 0 to 7. The default is 7.


Hello,

ok, the USR1 signal disables the buffering, got that :-)
but what is meant by the console loglevel? Is it the message priority
from (DEBUG to PANIC)?. How can i tell the metalog to use
a certain console for logging? (using a tail on the "current" file is no
good idea, when logfiles get rotated...)

vicay
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Mon May 06, 2002 12:05 am    Post subject: Reply with quote

I have to re-install gentoo as something I had no control over happened so I cant test this, but I assume if you changed the value to say:
Code:

--consolevel=7

That you can redirect the output of Metalog to a console your running in x by initiating the proper command.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Abandon
n00b
n00b


Joined: 18 May 2002
Posts: 33
Location: Madison, WI

PostPosted: Fri Jun 14, 2002 12:39 am    Post subject: Reply with quote

I was looking into the same issue and found the following page that gives instruction for doing what we're looking for. I have yet to try it but thought I'd post it for those who are interested.

http://hints.linuxfromscratch.org/hints/metalog.txt
Back to top
View user's profile Send private message
choi65
n00b
n00b


Joined: 30 May 2002
Posts: 15
Location: Germany

PostPosted: Fri Jun 14, 2002 2:31 am    Post subject: question Reply with quote

Hi,
sorry, i wanna know, what's especially good in metalog in comparison with the others, syslog-ng or syslog
Back to top
View user's profile Send private message
Abandon
n00b
n00b


Joined: 18 May 2002
Posts: 33
Location: Madison, WI

PostPosted: Fri Jun 14, 2002 10:49 am    Post subject: Reply with quote

I had no experience with any of the loggers beyond syslog and choose randomly from the list mentioned in the Gentoo x86 install guide. Since using it I would have to say I like the configuration system for it. But for someone who frequently installs new software or needs to frequently do debugging the buffering of log output is more of a pain than it's worth. I leave that disabled most of the time.
Back to top
View user's profile Send private message
Hellfire
n00b
n00b


Joined: 09 May 2002
Posts: 54
Location: Madison, WI

PostPosted: Fri Jun 14, 2002 2:01 pm    Post subject: Reply with quote

in /etc/conf.d/metalog

"Add -s if you don't want buffering"

Do that and the output to the log files will be written as expected via old-school syslog.


As for metalog - I love it. Being able to set regex/program filtering in the conf is amazingly keen and easy.

`man metalog.conf`
`man metalog`

After perusing that I'm completely sold on the product...

-h
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