Skip Menu |

This queue is for tickets about the Log-Handler CPAN distribution.

Report information
The Basics
Id: 46407
Status: resolved
Priority: 0/
Queue: Log-Handler

People
Owner: Nobody in particular
Requestors: nomorsad.poubelle [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.52
Fixed in: (no value)



Subject: DBI : compatibility with non standard DSN format
Hi, I want to use a SQLite database as log storage. I try to configure a Log::Handler::Output::DBI object but DBD::SQlite use a non standard format for the DSN : the "database" attribute is not understood. Below a typical DSN for SQLite : $dbh = DBI->connect("dbi:SQLite:dbname=/path/to/file.sqlite","",""); I think Log::Handler::Output::DBI should be able to configure the specific DSN for the database. Quote from DBI specification : "There is no standard for the text following the driver name. Each driver is free to use whatever syntax it wants." regards, Vincent * other useful informations : Perl 5.10.0 (Activestate on Windows 2003) DBD::Sqlite 1.25 Log::Handler::Output::DBI 0.04
Yes, you are right. I fix this as soon as possilbe!
On Mi. 27. Mai 2009, 07:33:03, BLOONIX wrote: Show quoted text
> Yes, you are right. I fix this as soon as possilbe!
Uploaded version 0.53_01. Please test it and give me a feedback. Cheers Jonny
Show quoted text
> > Uploaded version 0.53_01. > > Please test it and give me a feedback. > > Cheers > Jonny
v0.53_01 works with both "dbname" or "data_source" parameters. Documentation is OK. great job ;)
Show quoted text
> v0.53_01 works with both "dbname" or "data_source" parameters. > Documentation is OK. > > great job ;)
Thanks! :-) Problem fixed.