// this command.
try {
logger.info("[I2sRequestCommand] Configuring a logger for the command. " +
"If no logger configuration is specified with this command, the " +
"command will set its logger to be that of org.openeai.OpenEaiObject.");
LoggerConfig lConfig = new LoggerConfig();
lConfig = (LoggerConfig)getAppConfig()
.getObjectByType(lConfig.getClass().getName());
logger = Category.getInstance(getClass().getName());
PropertyConfigurator.configure(lConfig.getProperties());
}
catch (Exception e) {
logger.warn("[I2sRequestCommand] There was an error configuring the " +
"logger or a logger configuration for this command does not exist, " +
"setting logger to be org.openeai.OpenEaiObject.logger.");