Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-cs
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-cs@g.o
From: Vítězslav Kašička <vkasicka@...>
Subject: Re: Hlášky firewallu
Date: Mon, 06 Nov 2006 15:44:27 +0100
theruck napsal(a):
> si musis nastavit syslog-ng alebo cim to logujes aby to odchytaval a ukladal 
> do suboru
> pozri si /etc/syslog-ng/syslog-ng.conf (ak ho pouzivas) alebo 
> http://gentoo-wiki.com/HOWTO_setup_PHP-Syslog-NG
> 
> 

Zdravím,
asi jsem se špatně vyjádřil ony ty hlášky jsou jak v logu (soubor 
massages) tak i na obrazovce. Proto si myslím že je syslog-ng odchytává. 
   Jinak jeho config soubor vypadá následovně:


# $Header: 
var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 
1.5 2005/05/12 05:46:10 mr_bones_ Exp $
#
# Syslog-ng default configuration file for Gentoo Linux
# contributed by Michael Sterrett

options {
         chain_hostnames(off);
         sync(0);

         # The default action of syslog-ng 1.6.0 is to log a STATS line
         # to the file every 10 minutes.  That's pretty ugly after a while.
         # Change it to every 12 hours so you get a nice daily update of
         # how many messages syslog-ng missed (0).
         stats(43200);
};

source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); };

destination messages { file("/var/log/messages"); };

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

log { source(src); destination(messages); };
#log { source(src); destination(console_all); };


  Což, jak přiznávám, je defoltní nastavení.
-- 
gentoo-user-cs@g.o mailing list


Replies:
Re: Hlášky firewallu
-- theruck
References:
Hlášky firewallu
-- Vítězslav Kašička
Re: Hlášky firewallu
-- theruck
Navigation:
Lists: gentoo-user-cs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Hlášky firewallu
Next by thread:
Re: Hlášky firewallu
Previous by date:
Re: Ebuild esound
Next by date:
Re: Hlášky firewallu


Updated Jun 17, 2009

Summary: Archive of the gentoo-user-cs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.