You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Daniel Lee <li...@gmail.com> on 2007/01/19 20:44:01 UTC
status of ODBC appender.
Hello all,
I'm new to log4cxx. What's the status of ODBC appender in log4cxx? Where can
I find some examples and instructions using the (ODBC) appender? Can anyone
help? Thanks,
Chuang
Re: status of ODBC appender.
Posted by Curt Arnold <ca...@apache.org>.
On Jan 21, 2007, at 5:05 PM, Matthew Campbell wrote:
> It uses windows 32 api calls for odbc ;) If you totally rewrote it
> then yes that would be possible.
>
> On 1/21/07, Moshe Matitya < Moshe.Matitya@kayote.com> wrote:Why
> does it only work on Windows? If it uses the ODBC API, it ought to
> be possible to build it on *nix systems using unixODBC, no?
>
> Moshe
>
>
If anyone was looking to work on this appender, I would suggest
considering using the database support recently added to Apache
Portable Runtime. I added this as an enhancement request (https://
issues.apache.org/jira/browse/LOGCXX-61) a long time ago but I
haven't had time to work on it myself and no one else has taken it on.
Re: status of ODBC appender.
Posted by Matthew Campbell <hy...@hyperworks.nu>.
It uses windows 32 api calls for odbc ;) If you totally rewrote it then yes
that would be possible.
On 1/21/07, Moshe Matitya <Mo...@kayote.com> wrote:
>
> Why does it only work on Windows? If it uses the ODBC API, it ought to be
> possible to build it on *nix systems using unixODBC, no?
>
> Moshe
>
>
> On 1/19/2007, Matthew Campbell <ma...@gmail.com> wrote:
>
> Really isn't any code its just another appender, there are like 3
> properties you need to set on the appender (best way to see this is to look
> at the odbcappender header). Also just keep in mind I think I ended up
> having to use a DSN to make it work I couldn't get a straight connect string
> to work. And of course it only works on windows ;)
>
>
> On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
>
> Hi Matthew,
>
> Thanks for your reply. So where can I find some sample codes or
> docs? I didn't find any in the VN sources.
>
> Thanks.
>
>
>
> On 1/19/07, Matthew Campbell < hyper@hyperworks.nu <mailto:
> hyper@hyperworks.nu> > wrote:
>
> I used it for a while on one project, its really
> rudimentary. Things like if it fails to connect to your ODBC source don't
> get logged anywhere ;/ It does work tho, once configured in a dependable
> way.
>
>
>
> On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
>
> Hello all,
>
> I'm new to log4cxx. What's the status of ODBC
> appender in log4cxx? Where can I find some examples and instructions using
> the (ODBC) appender? Can anyone help? Thanks,
>
> Chuang
>
>
>
>
>
>
>
RE: status of ODBC appender.
Posted by Moshe Matitya <Mo...@Kayote.com>.
Why does it only work on Windows? If it uses the ODBC API, it ought to be possible to build it on *nix systems using unixODBC, no?
Moshe
On 1/19/2007, Matthew Campbell <ma...@gmail.com> wrote:
Really isn't any code its just another appender, there are like 3 properties you need to set on the appender (best way to see this is to look at the odbcappender header). Also just keep in mind I think I ended up having to use a DSN to make it work I couldn't get a straight connect string to work. And of course it only works on windows ;)
On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
Hi Matthew,
Thanks for your reply. So where can I find some sample codes or docs? I didn't find any in the VN sources.
Thanks.
On 1/19/07, Matthew Campbell < hyper@hyperworks.nu <ma...@hyperworks.nu> > wrote:
I used it for a while on one project, its really rudimentary. Things like if it fails to connect to your ODBC source don't get logged anywhere ;/ It does work tho, once configured in a dependable way.
On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
Hello all,
I'm new to log4cxx. What's the status of ODBC appender in log4cxx? Where can I find some examples and instructions using the (ODBC) appender? Can anyone help? Thanks,
Chuang
Re: status of ODBC appender.
Posted by Matthew Campbell <hy...@hyperworks.nu>.
Really isn't any code its just another appender, there are like 3 properties
you need to set on the appender (best way to see this is to look at the
odbcappender header). Also just keep in mind I think I ended up having to
use a DSN to make it work I couldn't get a straight connect string to work.
And of course it only works on windows ;)
On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
>
> Hi Matthew,
>
> Thanks for your reply. So where can I find some sample codes or docs? I
> didn't find any in the VN sources.
>
> Thanks.
>
> On 1/19/07, Matthew Campbell <hy...@hyperworks.nu> wrote:
> >
> > I used it for a while on one project, its really rudimentary. Things
> > like if it fails to connect to your ODBC source don't get logged anywhere ;/
> > It does work tho, once configured in a dependable way.
> >
> > On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
> > >
> > > Hello all,
> > >
> > > I'm new to log4cxx. What's the status of ODBC appender in log4cxx?
> > > Where can I find some examples and instructions using the (ODBC) appender?
> > > Can anyone help? Thanks,
> > >
> > > Chuang
> > >
> >
> >
>
Re: status of ODBC appender.
Posted by Daniel Lee <li...@gmail.com>.
Hi Matthew,
Thanks for your reply. So where can I find some sample codes or docs? I
didn't find any in the VN sources.
Thanks.
On 1/19/07, Matthew Campbell <hy...@hyperworks.nu> wrote:
>
> I used it for a while on one project, its really rudimentary. Things like
> if it fails to connect to your ODBC source don't get logged anywhere ;/ It
> does work tho, once configured in a dependable way.
>
> On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
> >
> > Hello all,
> >
> > I'm new to log4cxx. What's the status of ODBC appender in log4cxx? Where
> > can I find some examples and instructions using the (ODBC) appender? Can
> > anyone help? Thanks,
> >
> > Chuang
> >
>
>
Re: status of ODBC appender.
Posted by Matthew Campbell <hy...@hyperworks.nu>.
I used it for a while on one project, its really rudimentary. Things like if
it fails to connect to your ODBC source don't get logged anywhere ;/ It does
work tho, once configured in a dependable way.
On 1/19/07, Daniel Lee <li...@gmail.com> wrote:
>
> Hello all,
>
> I'm new to log4cxx. What's the status of ODBC appender in log4cxx? Where
> can I find some examples and instructions using the (ODBC) appender? Can
> anyone help? Thanks,
>
> Chuang
>