Re: [mythtv-users] log files too big

2005-03-19 Thread Aran Cox
On Sat, Mar 19, 2005 at 05:50:56PM -0500, Mary Strimel wrote:
> hi,
> I have a smallish root filesystem (7 GB or so), and the mythbackend.log
> files are quickly filling my disk.  I have not installed myth-debug; also,
> when I go through the "setup" there is an option for logging that is
> *unchecked* on my system.  In a moment of haste (or stupidity) I deleted two
> of the largest log files and bolloxed my mythtv completely.

I can't imagine how deleting log files could mess up a system.  This seems so
unlikely as to be impossible.  Syslog won't create files it's supposed to
write to, but I don't think mythbackend has that problem.  Even if it did, 
the worst thing that would result is you'd get no logging to the
mythbackend.log file.


> once I've done reinstalling it, is there some way to safely purge these
> files, or better yet, have them not created in the first place (or created
> somewhere else?)

Try seeing if you are setting --verbose=all when running mythbackend.  Try 
--verbose=quiet or something.  If a lot of info is being written to the log,
try reading it and see if it's important.  I'm also not sure why you think
you need to reinstall.  Maybe if you were more specific with the problems you
are having someone might be able to help you and save you the time
of re-installing things!
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] log files too big

2005-03-19 Thread Eyal Lebedinsky
Mary Strimel wrote:
hi,
I have a smallish root filesystem (7 GB or so), and the mythbackend.log
files are quickly filling my disk.
Before I start, if there a proper doco that explains what events are
logged by which option?
I have the same problem. The bulk of my log is clogged with messages
like this:
2005-03-20 10:57:54.404 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 161
2005-03-20 10:57:54.404 DVB#1 PID 161 _continuity_count 1 cc 4
2005-03-20 10:57:54.405 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 81
2005-03-20 10:57:54.405 DVB#1 PID 81 _continuity_count 1 cc 3
2005-03-20 10:57:54.623 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 512
2005-03-20 10:57:54.623 DVB#1 PID 512 _continuity_count 2 cc 3
2005-03-20 10:58:24.178 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 512
2005-03-20 10:58:24.186 DVB#1 PID 512 _continuity_count 4 cc 1
2005-03-20 10:58:24.186 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 660
2005-03-20 10:58:24.187 DVB#1 PID 660 _continuity_count 8 cc 9
2005-03-20 10:58:24.187 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 650
2005-03-20 10:58:24.187 DVB#1 PID 650 _continuity_count 9 cc 10
2005-03-20 10:58:24.195 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 512
2005-03-20 10:58:24.196 DVB#1 PID 512 _continuity_count 12 cc 13
2005-03-20 10:58:25.045 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 512
2005-03-20 10:58:25.046 DVB#1 PID 512 _continuity_count 8 cc 9
2005-03-20 10:58:27.550 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2005-03-20 10:58:27.550 DVB#1 WARNING - Transport Stream Continuity Error. PID 
= 512
2005-03-20 10:58:27.551 DVB#1 PID 512 _continuity_count 15 cc 0
2005-03-20 10:58:27.553 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2005-03-20 10:58:27.553 DVB#1 WARNING - Uncorrectable error in packet, dropped.
This turns up even when I start the backend with no verbosity specified
(as Debian does). Many messages do not have a source prefix so one cannot
tell which verbosity option to turn off.
I notice that there are two verbosity options turned on internally
important general
and both are rejected is specified explicitly. I do not see a syntax
to turn off a specific option. I now use ('playback,jobqueue' removed):
none,record,channel,osd,file,schedule,commflag,audio
and wonder if I will miss something that 'important,general' had.
I still get these:
2005-03-20 11:17:42.812 DVB#1 PID 512 _continuity_count 4 cc 7
2005-03-20 11:17:42.812 DVB#1 PID 512 _continuity_count 8 cc 9
2005-03-20 11:17:42.812 DVB#1 PID 512 _continuity_count 14 cc 15
2005-03-20 11:17:42.815 DVB#1 PID 512 _continuity_count 8 cc 9
And while on the subject of logging, how do I get information about
the streams which was in 0.16:
Audiostream: Layer: 2  BRate: 384 kb/s  Freq: 48.0 kHz
Videostream: ASPECT: 16:9  Size = 704x576  FRate: 25 fps  BRate: 6.90 Mbit/s
--
Eyal Lebedinsky ([EMAIL PROTECTED]) 
attach .zip as .dat
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] log files too big

2005-03-19 Thread Mario Limonciello




Mario L wrote:

  have you looked to see why your log files are filling up so rapidly,
perhaps what the contents were?

I have the verbosity level of my backend set to none, and my log file
dates back to december - but is still only 533K.

On Sat, 19 Mar 2005 17:50:56 -0500, Mary Strimel <[EMAIL PROTECTED]> wrote:
  
  
hi,
I have a smallish root filesystem (7 GB or so), and the mythbackend.log
files are quickly filling my disk.  I have not installed myth-debug; also,
when I go through the "setup" there is an option for logging that is
*unchecked* on my system.  In a moment of haste (or stupidity) I deleted two
of the largest log files and bolloxed my mythtv completely.

once I've done reinstalling it, is there some way to safely purge these
files, or better yet, have them not created in the first place (or created
somewhere else?)

thank you,
Mary

___
mythtv-users mailing list
mythtv-users@mythtv.org 
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users 


  
  
  

On Another note, when I am talking verbosity level, I there is a
setting in most init scripts for the verbose level, for example this is
my gentoo one:
[EMAIL PROTECTED] ~ $ cat /etc/conf.d/mythbackend
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend.conf,v 1.4
2004/09/11 12:06:33 aliz Exp $

# Uncomment this to disable the permission warnings.
MYTH_WARN=yes

# Specify which user to run as
#
# NOTE: this user must have permissions to write
#   to the LOG and PID directories specified
#   below.  Furthermore, this user must be able
#   to write to the audio and video devices
#   that are configured in MythTV.  This can
#   be achieved by adding this user to the
#   audio and video groups.
MYTH_USER=root

# Specify which file to use for the backend log.
MYTH_LOG=/var/log/mythtv/mythbackend.log

# Specify in which file to store the backend process id.
MYTH_PID=/var/run/mythtv/mythbackend.pid

# Specify debug-level in log
MYTH_VERBOSE="none"
#MYTH_VERBOSE="all"




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] log files too big

2005-03-19 Thread Mario L
have you looked to see why your log files are filling up so rapidly,
perhaps what the contents were?

I have the verbosity level of my backend set to none, and my log file
dates back to december - but is still only 533K.

On Sat, 19 Mar 2005 17:50:56 -0500, Mary Strimel <[EMAIL PROTECTED]> wrote:
> hi,
> I have a smallish root filesystem (7 GB or so), and the mythbackend.log
> files are quickly filling my disk.  I have not installed myth-debug; also,
> when I go through the "setup" there is an option for logging that is
> *unchecked* on my system.  In a moment of haste (or stupidity) I deleted two
> of the largest log files and bolloxed my mythtv completely.
> 
> once I've done reinstalling it, is there some way to safely purge these
> files, or better yet, have them not created in the first place (or created
> somewhere else?)
> 
> thank you,
> Mary
> 
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org 
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users 
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] log files too big

2005-03-19 Thread Mary Strimel
hi,
I have a smallish root filesystem (7 GB or so), and the mythbackend.log
files are quickly filling my disk.  I have not installed myth-debug; also,
when I go through the "setup" there is an option for logging that is
*unchecked* on my system.  In a moment of haste (or stupidity) I deleted two
of the largest log files and bolloxed my mythtv completely.

once I've done reinstalling it, is there some way to safely purge these
files, or better yet, have them not created in the first place (or created
somewhere else?)

thank you,
Mary

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users