|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
SageTV logs and verbosity
It appears that SageTV keeps up to three logs on the system, named from sagetv_0.txt to sagetv_3.txt.
In the sage.properties file there is a setting for logfile_rollover_size which by default is set at 10MB (or at least that is the size on my system). Is it also possible to set the number of logfiles to have more than four files? In addition, is it possible to set the verbosity of the log files? Mine may be on full right now as I seem to be getting in filling up with EPG data. For example, last night there is a huge entry of EPG data at 22:42. Then there is another big entry of EPG data at 23:10:16 and then another big entry at 23:10:19 and then again at 23:10:26 and then again at 23:10:49 and then again at 23:10:52. These may be separate runs for each tuner, but should I be getting but scheduler entries this often? My four logs have data for not much more than 24 hours.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
num_logfiles_to_keep=10
|
#3
|
|||
|
|||
log4j sucks, which is what I'm assuming is being used since there are file size and number of file options which are classic log4j settings. I have no clue if there is a setting to set the base log level, (one reason it sucks because there is a hierarchy to levels and you can only set the base level and everything above it is logged). The levels that I've seen (in order) are ALL*, TRACE*, DEBUG, INFO, WARN, ERROR, FATAL, OFF*. (* means things added after the first time I ran across log4j.)
Sorry and way off topic, but I'm a bit of a stickler for logging. At work I want to be able to see logs for something in one place, (which is a somewhat recent option for log4j in a distributed environment), pick my own logging "levels" to record on the fly without having to push "properties" files then restart things, and not have a cap on size or files, but on day and number of days to keep around.
__________________
Home Network: https://karylstein.com/technology.html |
#4
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#5
|
||||
|
||||
My philosophy (back then) was that I would always want all the logging so that I would never be going back and forth with customers on incrementing the log level. So that's why there's no granularity in SageTV core...and overriding System.out to redirect to log files + stdout was a really easy may to make it happen without introducing a dependency on 3rd party logging code (and likely log4j didn't exist when I started writing SageTV way back in 2001...there was a serious lack of 3rd party Java libraries back then).
__________________
Jeffrey Kardatzke Founder of SageTV |
#6
|
||||
|
||||
Quote:
I like logging levels because they also convey intent in a consistent way. I also like them because I use some decent tools to parse logs and I can quickly make a lot of fluff go away to get my bearings on the start of a problem plus the big picture of what's going on around it, then increase verbosity as needed. It's a huge time saver.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't find HD300 Logs | Mike | SageTV Media Extender | 1 | 01-15-2011 07:54 AM |
If you have an issue I need logs!! | PLUCKYHD | Sage My Movies | 0 | 10-11-2010 10:24 AM |
Where to find SageTV logs? | sjgore | SageTV Beta Test Software | 3 | 03-09-2007 03:25 PM |
SageTV server logs & hung SageTV service | Surtr | SageTV Software | 4 | 02-15-2006 08:37 PM |
Gigantic .txt logs?? | zoundz | SageTV Beta Test Software | 6 | 01-13-2005 07:23 PM |