our @EXPORT = qw(syslog initlog);
my $log_tag = "unknown";
-
+
# never log to console - thats too slow, and
# it corrupts the DBD database connection!
sub initlog {
my ($tag, $facility) = @_;
- if ($tag) {
+ if ($tag) {
$tag = basename($tag);
$tag = encode("ascii", decode_utf8($tag));