package com.geam.teamsite.workflow;import org.apache.log4j.Logger;private static final Logger LOG = Logger.getLogger("com/geam/teamsite/workflow/CreateFileList.getName()"); CSWorkarea workarea = (CSWorkarea)task.getArea(); workarea.unlockFiles(areaRelativePaths); com.interwoven.cssdk.filesys.CSUpdateResult result = workarea.update(areaRelativePaths, workarea.getBranch().getStaging(), 3); LOG.debug("Value of result is " + result);
private static final Logger LOG = Logger.getLogger("com/geam/teamsite/workflow/CreateFileList.getName()");
private static final Logger LOG = Logger.getLogger("com.geam.teamsite.workflow.CreateFileList.getName()");
foo.getName()
I'm not positive, but shouldn't:private static final Logger LOG = Logger.getLogger("com/geam/teamsite/workflow/CreateFileList.getName()"); be:private static final Logger LOG = Logger.getLogger("com.geam.teamsite.workflow.CreateFileList.getName()"); Or just create a CreateFileList object (foo) and use foo.getName().As for log files - you might check IWHOME/../ApplicationContainer/server/default/log/server.log - I believe the servletd_out.log was a tomcat thing, and now that TeamSite uses jboss you have to reference a different log file - in a different location.As for CSSDK Manual - you have to unload the CSSDK doc jar file which will give you all the javadocs. Unfortunately (IMO) the docs are good if you know what you are already looking for, but not that great if you aren't sure and especially not that good if you're looking for examples of usage - but that seems to be somewhat the standard for javadocs, as opposed to something specifically bad about Autonomy Interwoven's javadocs.
private static final Logger LOG = Logger.getLogger("com.geam.teamsite.workflow.CreateFileList.[size=2][color=#7f0055]class[/color][/size]");
We have got this working in 7.3.1. Making things simple and getting them done first worked for us. Did you try hardcoding the value to some existing location where iwui user has permission to write? Try following:param name="File" value="/iwhome/abc/custom.log"/>Also logger name="com.geam.teamsite.workflow" additivity="false" and see if it helps.Also try private static final Logger LOG = Logger.getLogger("com.geam.teamsite.workflow.CreateFileList.[size=2][color=#7f0055]class[/color][/size]"); Try using this LogManager as it will give you the flexibility to use logger in the classes within same package.