hartwig has asked for the wisdom of the Perl Monks concerning the following question:

Esteemed Monks,

this time i am looking for logging module that writes in
a logging file as well as into a database - I was also
thinking about a dbi module which writes into a flat file (via columns...) Can anbody help me with that?
Best regards
Hartwig

Replies are listed 'Best First'.
Re: logging to database or file
by tomazos (Deacon) on Sep 29, 2005 at 07:24 UTC
Re: logging to database or file
by jZed (Prior) on Sep 29, 2005 at 07:47 UTC
    DBD::CSV and DBD::AnyData support DBI with flat files of various kinds. The latter includes some log formats and is easily extendable to handle others. Without knowing more about your needs I can't say if those would be useful or if you'd be better off with some of the modules in the Log::* hierarchy.
Re: logging to database or file
by adrianh (Chancellor) on Sep 29, 2005 at 12:53 UTC
    this time i am looking for logging module that writes in a logging file as well as into a database

    Log4perl can do this.