[linux-help] Re: Where's messages on Corel/Debian
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Koji Hayakawa wrote:
>
> find / | grep messages
> find / | grep syslog
find / -name messages -o -name syslog
would be more efficient. If slocate is set up, it will be faster still:
slocate messages syslog
However, it will produce false hits, which can (mostly) be weeded out
with egrep:
slocate messages syslog | egrep '/(messages|syslog)$'
> I'm still not good at these two powerful tools, but these will find these
> files, IF Corel linux name these file like other distributions.
But the real answer is to look at:
/etc/syslog.conf
On my Red Hat system, that has the paths of all sorts of logging files.
If you don't have that, something in the /etc/rc.d tree has to be setting
up where logging occurs. E.g., run:
fgrep syslogd /etc/rc.d/init.d/*
If you find a command like:
daemon syslogd -f FILENAME
then use FILENAME instead of /etc/syslog.conf. If you find a command
like:
daemon syslogd -m 0
Then your system uses the default /etc/syslog.conf.
> > > > My friend has a Corel Linux system and I want to look at
> > something in his
> > > > messages file, but he can't find it. I thought Corel was based on
> > > > Debian, can someone tell me where it keeps the system log file?
> > >
> > > /var/log/messages /var/log/syslog
--
/*
* Tom Hull * thull at kscable.com * http://www.ocston.org/~thull/
*/
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
- [linux-help] Re: Distros ( was Ethernet card setup / Gateway system), Sudharsha, 2001/04/09
- [linux-help] Re: Distros ( was Ethernet card setup / Gateway system), Koji Hayakawa, 2001/04/09
- [linux-help] Where's messages on Corel/Debian, Greg House, 2001/04/10
- [linux-help] Re: Where's messages on Corel/Debian, Dale W Hodge, 2001/04/10
- [linux-help] Re: Where's messages on Corel/Debian, Thomas Wallis, 2001/04/11
- [linux-help] Re: Where's messages on Corel/Debian, Dale W Hodge, 2001/04/11
- [linux-help] Re: Where's messages on Corel/Debian, Marc Bachman, 2001/04/11
- [linux-help] Re: Where's messages on Corel/Debian, Koji Hayakawa, 2001/04/11
- [linux-help] Re: Where's messages on Corel/Debian, Jim Vetor, 2001/04/11
- [linux-help] Re: dual booting Windows/Linux, rohrer aaron l, 2001/04/12
- [linux-help] Re: dual booting Windows/Linux, Koji Hayakawa, 2001/04/12
- [linux-help] Re: dual booting Windows/Linux, james l, 2001/04/12
- [linux-help] Re: dual booting Windows/Linux, lowell, 2001/04/12
- [linux-help] Re: Where's messages on Corel/Debian, Dale W Hodge, 2001/04/12
|
|