AnsweredAssumed Answered

Locating Alfresco.log and catalina.log file

Question asked by jawz on Feb 3, 2011
I am unable to find my Alfresco.log and catalina.log files on a Linux installation.  How would I go about tracking it down?  I've checked in my admin console under System Properties (pasted below), thinking I'd be able to get an idea, but it doesn't get me very far.   The first place I check is the alfresso.hom location, but I do not have any log files.   What files, locations would I begin to check?

thanks,

1.  I check /usr/share/alfresco/alfresco.war/WEB-INF/classes/log4j.properties and see the following for the alfresco.log,:
###### File appender definition #######
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File=alfresco.log
Based on the System.properties, I look at the alfresco.home, but I don't see a log file though.

2.  I tracked down
/usr/share/alfresco/extensions/extension
and checked
more custom-log4j.properties
and see the same settings….
###### File appender definition #######
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File=alfresco.log



====from Alfresco Explorer Admin Console=========
Property Value
PROPERTIES_FILE tsmx.properties
TSMX_VERSION unknown
alfresco.home /usr/share/alfresco
alfresco.jmx.dir /usr/share/alfresco/alfresco.war/WEB-INF/classes/alfresco
alfresco.tcp.initial_hosts mylinux001[7800], mylinux002[7800] 
bind.address 165.79.137.36
catalina.base /var/lib/jbossas/server/production
catalina.ext.dirs /var/lib/jbossas/server/production/lib
catalina.home /var/lib/jbossas/server/production
catalina.useNaming false
com.arjuna.ats.arjuna.objectstore.objectStoreDir /var/lib/jbossas/server/production/data/tx-object-store
com.arjuna.ats.jta.lastResourceOptimisationInterface org.jboss.tm.LastResource
com.arjuna.ats.tsmx.agentimpl com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
com.arjuna.common.util.logger log4j_releveler
com.arjuna.common.util.logging.DebugLevel 0x00000000
com.arjuna.common.util.logging.FacilityLevel 0xffffffff
com.arjuna.common.util.logging.VisibilityLevel 0xffffffff
com.sun.management.jmxremote  
common.loader ${catalina.home}/lib,${catalina.home}/lib/*.jar
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
heap.free 367.093MB (384924904 bytes)
heap.maxsize 1979.750MB (2075918336 bytes)
heap.size 660.586MB (692674560 bytes)
hibernate.bytecode.provider cglib
hibernate.dialect org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect
jacorb.config.log.verbosity 0
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jbossas/bin/run.jar:/usr/java/jdk1.6.0_16/lib/tools.jar
java.class.version 50.0
java.endorsed.dirs /usr/share/jbossas/lib/endorsed
java.ext.dirs /usr/java/jdk1.6.0_16/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/java/jdk1.6.0_16/jre
java.io.tmpdir /tmp
java.library.path /usr/java/jdk1.6.0_16/jre/lib/amd64/server:/usr/java/jdk1.6.0_16/jre/lib/amd64:/usr/java/jdk1.6.0_16/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
java.naming.factory.initial org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces
java.net.preferIPv4Stack true
java.protocol.handler.pkgs org.jboss.net.protocol
java.rmi.server.RMIClassLoaderSpi org.jboss.system.JBossRMIClassLoader
java.rmi.server.codebase http://165.79.137.36:8083/
java.rmi.server.hostname 165.79.137.36
java.rmi.server.randomIDs true
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_16-b01
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_16
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 14.2-b01
javax.management.builder.initial org.jboss.mx.server.MBeanServerBuilderImpl
jboss.bind.address 165.79.137.36
jboss.home.dir /var/lib/jbossas
jboss.home.url file:/var/lib/jbossas/
jboss.identity 0e0c9f3db3317587x741b502ax12513ffa4b3x-8000357
jboss.lib.url file:/var/lib/jbossas/lib/
jboss.partition.name DEVPartition00
jboss.remoting.domain JBOSS
jboss.remoting.instanceid 0e0c9f3db3317587x741b502ax12513ffa4b3x-8000357
jboss.remoting.version 22
jboss.server.base.dir /var/lib/jbossas/server
jboss.server.base.url file:/var/lib/jbossas/server/
jboss.server.config.url file:/var/lib/jbossas/server/production/conf/
jboss.server.data.dir /var/lib/jbossas/server/production/data
jboss.server.home.dir /var/lib/jbossas/server/production
jboss.server.home.url file:/var/lib/jbossas/server/production/
jboss.server.lib.url file:/var/lib/jbossas/server/production/lib/
jboss.server.log.dir /var/lib/jbossas/server/production/log
jboss.server.name production
jboss.server.temp.dir /var/lib/jbossas/server/production/tmp
jbossmx.loader.repository.class org.jboss.mx.loading.UnifiedLoaderRepository3
jgroups.bind_addr 165.79.137.36
line.separator 
org.apache.catalina.STRICT_SERVLET_COMPLIANCE false
org.apache.commons.logging.Log org.apache.commons.logging.impl.Log4JLogger
org.apache.lucene.lockDir ./alf_data/locks
org.jboss.ORBSingletonDelegate org.jacorb.orb.ORBSingleton
org.omg.CORBA.ORBClass org.jacorb.orb.ORB
org.omg.CORBA.ORBSingletonClass org.jboss.system.ORBSingleton
org.w3c.dom.DOMImplementationSourceList org.apache.xerces.dom.DOMXSImplementationSourceImpl
os.arch amd64
os.name Linux
os.version 2.6.18-164.6.1.el5
package.access sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
package.definition sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
path.separator :
program.name run.sh
server.loader  
shared.loader  
sun.arch.data.model 64
sun.boot.class.path /usr/share/jbossas/lib/endorsed/serializer.jar:/usr/share/jbossas/lib/endorsed/xalan.jar:/usr/share/jbossas/lib/endorsed/xercesImpl.jar:/usr/java/jdk1.6.0_16/jre/lib/resources.jar:/usr/java/jdk1.6.0_16/jre/lib/rt.jar:/usr/java/jdk1.6.0_16/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_16/jre/lib/jsse.jar:/usr/java/jdk1.6.0_16/jre/lib/jce.jar:/usr/java/jdk1.6.0_16/jre/lib/charsets.jar:/usr/java/jdk1.6.0_16/jre/classes
sun.boot.library.path /usr/java/jdk1.6.0_16/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist  
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
sun.rmi.dgc.client.gcInterval 3600000
sun.rmi.dgc.server.gcInterval 3600000
tomcat.util.buf.StringCache.byte.enabled true
user.country US
user.dir /var/lib/jbossas/bin
user.home /usr/share/jbossas
user.language en
user.name jboss
user.timezone America/Los_Angeles

Outcomes