SessionManager.initializeCmsLog(applicationName)SessionManager.setCmsDirPath(path)SessionManager.setCmsLogDirPath(path)
Where can I find the applicationName ?
And the CmsDirPath and CmsLogDirPath ?
<yourCmsDirPath>/config/code //this will where you can put your errorCodes.xml and DTD
<yourCmsDirPath>/config/log //this is where you put your logger properties files "default.properties"
SessionManager.setCmsDirPath("C:/eclipse/workspace/myApp");SessionManager manager = SessionManager.getInstance(); SessionManager.initializeCmsLog("myApp");
logcode
SessionManager.setWriteableCmsDirPath(path)