summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-08-10 14:05:26 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-08-10 14:05:26 +0000
commit2e9c00e1bdd19f3fb61ce0aaede85d5f5400ef81 (patch)
treebf3734ba1dbfb0e8c5df072c55b19b62603135b5 /bin
parent11ad754da4d127a74e26894e97c232a3a98972b5 (diff)
downloadxxv-2e9c00e1bdd19f3fb61ce0aaede85d5f5400ef81.tar.gz
xxv-2e9c00e1bdd19f3fb61ce0aaede85d5f5400ef81.tar.bz2
* AUTOTIMER: fix some orthography
* EVENTS: store news from last month into database * RSS: dump news from database * TIMERS: event if timer adjusted * TIMERS/AUTOTIMER: rewrite event/news handling * xxvd: show pid at startup * xxvd: show base revision at startup * CHANNELS: fix detect radio channels * REPORT: Refactoring event handling, move any function to modul EVENTS. * EVENTS: elist function to list news as table * EVENTS: respect minimum level to exclude unwanted harmless news * RSS/MAIL... : remove dependency to modul REPORT
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xxvd11
1 files changed, 4 insertions, 7 deletions
diff --git a/bin/xxvd b/bin/xxvd
index 0c4caff..7c4ac5c 100755
--- a/bin/xxvd
+++ b/bin/xxvd
@@ -454,10 +454,8 @@ sub quit {
# remove any depends process like preview encoder for recordings
&killfam('TERM',$$);
- debug qq|--------------------------------------------------|;
- debug sprintf(qq|----- XXVD System %15s ended : %2s -----|, &getVersion,$ret);
- debug qq|--------------------------------------------------|;
+ debug sprintf("%s(%s) ended. state : %s", $0, $$, $ret);
exit($ret);
}
@@ -606,15 +604,14 @@ sub init_logging {
my $fh = IO::File->new($loggerfile,$mode)
or return print(sprintf("Couldn't write %s : %s!",$loggerfile,$!));
+# binmode $fh, ":encoding(utf8)" if($Tools::CHARSET eq 'UTF-8');
print $fh sprintf("%d (%d) [%s] %s\n",++$loggercnt, $errcode, $tt, $msg);
$fh->close;
};
# First log message
- debug qq|--------------------------------------------------|;
- debug sprintf(qq|---- XXVD System %15s started ----|, &getVersion);
- debug qq|--------------------------------------------------|;
- debug sprintf('Verbose Level is set to %d', $verbose);
+ debug sprintf("%s(%s) started. base version : %s", $0,$$, &getVersion);
+ debug sprintf('verbose level is set to %d', $verbose);
}
# ------------------