On 13/01/2011 03:23, Bob Hall wrote:
On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote:
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Harar...@kibug.org wrote:
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find
On Thu, Jan 13, 2011 at 3:38 AM, David Demelier demelier.da...@gmail.comwrote:
But, there is sometime subdirectories in /var/log, it doesn't matter? And
truncate can write on archived files ? such as :
markand@Melon ~ $ ls /var/log/messages*.bz2
/var/log/messages.0.bz2
Date: Wed, 12 Jan 2011 20:58:04 +0100
From: Polytropon free...@edvax.de
Subject: Re: Simple command to reset / clear all logs?
On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene
reddvinyl...@gmail.com wrote:
Will the logs automatically create themselves?
Usually not, but it depends
On 1/13/2011 2:56 PM, Robert Bonomi wrote:
Date: Wed, 12 Jan 2011 20:58:04 +0100
From: Polytropon free...@edvax.de
Subject: Re: Simple command to reset / clear all logs?
On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene
reddvinyl...@gmail.com wrote:
Will the logs automatically create
to reset / clear all logs?
On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene
reddvinyl...@gmail.comwrote:
Will the logs automatically create themselves? I mean, I picture I have
to manually touch a lotta them in order to avoid cannot find error
messages?
Please don't top post.
do
On Thu, Jan 13, 2011 at 6:28 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote:
From: Adam Vande More amvandem...@gmail.com
Please don't top post.
do something like this:
shutdown now rm /var/log/* exit
upon reentering multiuser mode, each logging service will create it's new
Date: Thu, 13 Jan 2011 18:31:21 -0600
Subject: Re: Simple command to reset / clear all logs?
To: questi...@freebsd.org
On Thu, Jan 13, 2011 at 6:28 PM, Robert Bonomi
bon...@mail.r-bonomi.comwrote:
From: Adam Vande More amvandem...@gmail.com
Please don't top post.
do
On Thu, Jan 13, 2011 at 7:59 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote:
I *did* read what you said.
To be blunt, you are full of sh*t as regards any file used by the standard
Berkeley syslog daemon, (syslogd). The Berkeley syslogd is the standard
system log daemon on FreeBSD,
On Thu, 13 Jan 2011 20:11:03 -0600, Adam Vande More amvandem...@gmail.com
wrote:
Amusing, but you're the one full of shit. There's more things to automatic
log file creation than are thought of in your imagination.
Adam,
I think Robert is right at least in regards of SOME
programs that use
Polytropon free...@edvax.de writes:
On Thu, 13 Jan 2011 20:11:03 -0600, Adam Vande More amvandem...@gmail.com
wrote:
Amusing, but you're the one full of shit. There's more things to automatic
log file creation than are thought of in your imagination.
Adam,
I think Robert is right at
From owner-freebsd-questi...@freebsd.org Thu Jan 13 23:28:08 2011
From: Carl Johnson ca...@peak.org
To: freebsd-questions@freebsd.org
Date: Thu, 13 Jan 2011 21:21:40 -0800
Subject: Re: Simple command to reset / clear all logs?
Polytropon free...@edvax.de writes:
On Thu, 13 Jan 2011 20
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
___
freebsd-questions@freebsd.org
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
may do.
# sorry. I wouldn't do that rough and not tested.
# Basically, those are just incremental logs, whose
# lines are mostly not referred by
newsyslog -F ?
On 1/12/2011 11:04 AM, Redd Vinylene wrote:
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara r...@kibug.org wrote:
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
may do.
Possible problem: Programs that log to files may be
2011-01-12 17:04, Redd Vinylene:
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
Sometimes I use rm /var/log/*
Use with
Will the logs automatically create themselves? I mean, I picture I have to
manually touch a lotta them in order to avoid cannot find error messages?
On Wed, Jan 12, 2011 at 8:19 PM, Bernt Hansson be...@bah.homeip.net wrote:
2011-01-12 17:04, Redd Vinylene:
Hi,
Is there a simple command to
On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene reddvinyl...@gmail.com
wrote:
Will the logs automatically create themselves?
Usually not, but it depends on the logging mechanism. If a
program continuously re-opens the file (after closing it)
in APPEND mode, it should be created if
On Wed, Jan 12, 2011 at 8:58 PM, Polytropon free...@edvax.de wrote:
# for FILE in /var/log/*; do cat /dev/null ${FILE}; done
That would be better than my first suggestion. You can exchange
the part /var/log/* for any `find ...` command that specifies
the intended target(s) of your operation
On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote:
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara r...@kibug.org wrote:
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
From owner-freebsd-questi...@freebsd.org Wed Jan 12 10:09:51 2011
Date: Wed, 12 Jan 2011 17:04:26 +0100
From: Redd Vinylene reddvinyl...@gmail.com
To: questions questi...@freebsd.org
Cc:
Subject: Simple command to reset / clear all logs?
Hi,
Is there a simple command to reset / clear
On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene reddvinyl...@gmail.comwrote:
Will the logs automatically create themselves? I mean, I picture I have to
manually touch a lotta them in order to avoid cannot find error messages?
Please don't top post.
do something like this:
shutdown now
rm
22 matches
Mail list logo