Log4jdbc version 1.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    log4jdbc  most recent diff


    version 1.1

      View the most recent changes for the log4jdbc port at: log4jdbc.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for log4jdbc.
      The raw portfile for log4jdbc 1.1 is located here:
      http://log4jdbc.darwinports.com/dports/java/log4jdbc/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/log4jdbc


      The log4jdbc Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: log4jdbc
      Version: 1.1

      Category: java
      Maintainers: blair
      Platform: darwin

      Description: JDBC driver that can log SQL and/or JDBC calls
      Long Description: Log4jdbc is a Java JDBC driver that can log SQL and/or JDBC calls (and optionally SQL timing information) for other JDBC drivers using the Simple Logging Facade For Java (SLF4J) logging \ system.
      Homepage: http://log4jdbc.sourceforge.net/

      Master Sites: sourceforge
      use_zip yes
      Checksums: md5 50ac9cb62a9bb05d001f0a670fc043f1 sha1 c8311c87e96d90b54615428be7d11539d8900c84 rmd160 64282b67b4b87f979711495690c7b60044367716

      depends_lib bin:java:kaffe port:slf4j

      use_configure no

      build.cmd true

      destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc/

      foreach f { 3 4 } {
      file copy ${worksrcpath}/build/${name}${f}-${version}.jar ${destroot}${prefix}/share/java/${name}${f}.jar
      }

      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.type sourceforge
      livecheck.name ${name}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/log4jdbc
      % sudo port install log4jdbc
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching log4jdbc
      ---> Verifying checksum for log4jdbc
      ---> Extracting log4jdbc
      ---> Configuring log4jdbc
      ---> Building log4jdbc with target all
      ---> Staging log4jdbc into destroot
      ---> Installing log4jdbc
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using log4jdbc with these commands:
      %  man log4jdbc
      % apropos log4jdbc
      % which log4jdbc
      % locate log4jdbc

     Where to find more information:

    Darwin Ports



    Lightbox this page.