Hari,

# the location for yours log4j configuration file

  <category name="log4j">
    <property name="properties" value=".\properties\log4j.properties" />
  </category>

# Yours oracle database
  <category name="JDBC">
    <property name="URL" value="jdbc:oracle:thin:@localhost:1521:ORATEST"/>
    <property name="USER" value="ulog" />
    <property name="PWD" value="ulog" />
  </category>

# the standard don't change.
  <category name="ACTION">
    <property name="deleteInDatabase" value="Y" />
  </category>



I think, you have some problem when you use log4j. find
"WARN Please initialize the log4j system properly"
In log4j maling list or in your internet search engine

Guillaume Moulard


Selon log4plsql general mailing list <[email protected]>:

>
> Hi,
>       I have been trying to install LOG4PLSQL in my enivronment. I am able
> to use the logging features for the stored procedures(i.e.install.sh works
> fine). But when I try to run the startLog4JbackgroundProcess script (to use
> the log4j features) I am getting the following problem.
>
> /oracle/app/product/9.2.0
> /tmp/Log4plsql/lib/log4plsql.jar:/oracle/app/product/9.2.0
> /lib/runtime12.jar:/oracle/app/product/9.2.0
> /lib/nls_charexport12.jar:/oracle/app/product/9.2.0
> /lib/classes12.jar:/oracle/app/product/9.2.0
> /lib/xmlcomp.jar:/oracle/app/product/9.2.0
> /lib/xmlparserv2.jar:/oracle/app/product/9.2.0
> /tmp/Log4plsql/lib/log4j-1.2.8.jar::/oracle/app/product/9.2.0
> /tmp/Log4plsql/lib/runtime12ee.jar:/oracle/app/product/9.2.0
> /tmp/Log4plsql/lib/runtime12.jar:/oracle/app/product/9.2.0
> /jdbc/classes12.zip:/oracle/app/product/9.2.0
> /jdbc/lib/classes12.jar:/oracle/app/product/9.2.0/jdbc/lib/jndi.jar
> CLASSPATH
> start listener
> log4j:WARN No appenders could be found for logger (backgroundProcess).
> log4j:WARN Please initialize the log4j system properly.
>
> Also,I am also little unclear as to where exactly the following tags go.
>
> <?xml version="1.0" ?>
> <properties>
>   <category name="log4j">
>     <property name="properties" value=".\properties\log4j.properties" />
>   </category>
>   <category name="JDBC">
>     <property name="URL" value="jdbc:oracle:thin:@localhost:1521:ORATEST"
> />
>     <property name="USER" value="ulog" />
>     <property name="PWD" value="ulog" />
>   </category>
>   <category name="ACTION">
>     <property name="deleteInDatabase" value="Y" />
>   </category>
> </properties>
>
> It would great if you can help me in this regard.
>
> Hari
>
> This e-Mail may contain proprietary and confidential information and is sent
> for the intended recipient(s) only.  If by an addressing or transmission
> error this mail has been misdirected to you, you are requested to delete this
> mail immediately. You are also hereby notified that any use, any form of
> reproduction, dissemination, copying, disclosure, modification, distribution
> and/or publication of this e-mail message, contents or its attachment other
> than by its intended recipient/s is strictly prohibited.
>
> Visit us at http://www.polaris.co.in
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Log4plsql-all-info mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/log4plsql-all-info
> log4plsq : http://log4plsql.sourceforge.net
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Log4plsql-all-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/log4plsql-all-info
log4plsq : http://log4plsql.sourceforge.net

Reply via email to