private void parseAccessLog(Map<String, Object> config) {
        String filename = (String) config.get("access.filePath");
        if (null == filename || 0 == filename.trim().length()) {
            return;
        }
        try {
            this.ncsaLog = new AccessLogger(filename.trim());
        } catch (Throwable t) {
            FFDCFilter.processException(t, getClass().getName() + ".parseAccessLog", "1", this);
            if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                Tr.event(tc, "Logging service was unable to open a file: " + filename + "; " + t);
            }
            return;
        }

        // save the NCSA format value
        String format = (String) config.get("access.logFormat");
        this.ncsaLog.setFormat(LogUtils.convertNCSAFormat(format));

        // now check for the maximum file size
        String size = (String) config.get("access.maximumSize");
        if (null != size) {
            // convert from MB to bytes
            if (!this.ncsaLog.setMaximumSize(convertInt(size, 0) * 1048576L)) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Logging service has invalid access log size: " + size);
                }
            }
        }

        // check for the max backup files
        String backups = (String) config.get("access.maximumBackupFiles");
        if (null != backups) {
            this.ncsaLog.setMaximumBackupFiles(convertInt(backups, 1));
        }

    }
private void parseAccessLog ( Map < String , Object > config ) { String filename = ( String ) config . get ( "access.filePath" ) ; if ( null == filename || 0 == filename . trim ( ) . length ( ) ) { return ; } try { this . ncsaLog = new AccessLogger ( filename . trim ( ) ) ; } catch ( Throwable t ) { FFDCFilter . processException ( t , getClass ( ) . getName ( ) + ".parseAccessLog" , "1" , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Logging service was unable to open a file: " + filename + "; " + t ) ; } return ; } String format = ( String ) config . get ( "access.logFormat" ) ; this . ncsaLog . setFormat ( LogUtils . convertNCSAFormat ( format ) ) ; String size = ( String ) config . get ( "access.maximumSize" ) ; if ( null != size ) { if ( ! this . ncsaLog . setMaximumSize ( convertInt ( size , 0 ) * 1048576L ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Logging service has invalid access log size: " + size ) ; } } } String backups = ( String ) config . get ( "access.maximumBackupFiles" ) ; if ( null != backups ) { this . ncsaLog . setMaximumBackupFiles ( convertInt ( backups , 1 ) ) ; } }
Parse the access log related information from the config.

@param config