require Log::Log4perl;
require DBIx::Log4perl;
- my $filename = $LXDebug::file_name;
+ my $filename = $::lxdebug->file;
my $config = $::lx_office_conf{debug}->{dbix_log4perl_config};
$config =~ s/LXDEBUGFILE/${filename}/g;
return DBIx::Log4perl->connect(@_);
}
+sub get_options {
+ my $self = shift;
+ my $options = {
+ pg_enable_utf8 => $::locale->is_utf8,
+ @_
+ };
+
+ return $options;
+}
+
1;