文件操作 - ctrlelog.xsl
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/en/common/ctrlelog.xsl
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:variable name="strTitlePart1"><!--XLATESTART-->Export Log <!--XLATESTOP--></xsl:variable> <xsl:variable name="strTitlePart2"><!--XLATESTART--><!--Variable name of controller follows title; Use this if you have to split strTitle--><!--XLATESTOP--></xsl:variable> <xsl:variable name="strSubHeader"><!--XLATESTART-->The controller log file (afa_mmdd.log or lsi_mmdd.log or Lsi_export.log) will be generated and saved to the following Host Name and specified Path<!--XLATESTOP--></xsl:variable> <xsl:variable name="strCancel"><!--XLATESTART-->Go Back to Controller Information Page<!--XLATESTOP--></xsl:variable> <xsl:variable name="strExpLog"><!--XLATESTART-->Export Log File<!--XLATESTOP--></xsl:variable> <xsl:variable name="strHostName"><!--XLATESTART-->Host Name<!--XLATESTOP--></xsl:variable> <xsl:variable name="strSubHeader2"><!--XLATESTART-->The log file will be generated and saved to the Host Name and Path mentioned in the section below. The default log file name is (PCIeSSD_<serial no>_<monthdayhourminutesecond>.log). You can enter a custom file name in the <File Name> field.<!--XLATESTOP--></xsl:variable> <xsl:variable name="strSubHeaderNVME2"><!--XLATESTART-->The log file will be generated and saved to the Host Name and Path mentioned in the section below. The default log file name is (NVME_<serial no>_<monthdayhourminutesecond>.log). You can enter a custom file name in the <File Name> field.<!--XLATESTOP--></xsl:variable> <xsl:variable name="strPath">Path</xsl:variable> <xsl:variable name="strFileName">File Name</xsl:variable> <xsl:variable name="strLog">.log</xsl:variable> </xsl:stylesheet>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件