The CA SiteMinder® SPS supports the following log4j date pattern strings:
Date Pattern |
Description |
Example |
---|---|---|
'.'yyyy-MM-dd-a'.'yyyy-MM |
Specifies that the log rollover begins at the start of a month in a year |
At approximately midnight on 05/31/2012, the CA SiteMinder® SPS copies the SPS_server.log file to the SPS_server.log.2012-05 file. The CA SiteMinder® SPS stores the log messages received from 12.01 AM of 06/01/2012 through 23.59 PM of 06/30/2012 in the SPS_server.log file until the next log rollover at midnight of 06/30/2012 |
'.'yyyy-ww |
Specifies that the log rollover begins at the start of the first day of a week in a year. The first day of a week in a year depends on the locale |
If the first day of the 23rd week in 2012 is Sunday, at approximately midnight on Saturday, the CA SiteMinder® SPS copies the SPS_server.log file to the SPS_server.log.2012-23 file. The CA SiteMinder® SPS stores the log messages received in the 24th week in the SPS_server.log file until the next log rollover at midnight on the first day in the 24th week of the year |
'.'yyyy-MM-dd |
Specifies that the log rollver begins at midnight in a day in a year |
At approximately midnight on 05/08/2012, the CA SiteMinder® SPS copies the SPS_server.log file to the SPS_server.log.2012-05.08 file. The CA SiteMinder® SPS stores the log messages received from 12.01 AM through 23.59 PM on 05/09/2012 in the SPS_server.log file until the next log rollover at midnight on 05/09/2012 |
'.'yyyy-MM-dd-a |
Specifies that the rollover begins at noon and midnight in a day in a year |
At approximately noon on 05/08/2012, the CA SiteMinder® SPS copies the SPS_server.log file to SPS_server.log.2012-05-08-AM. The CA SiteMinder® SPS stores the log messages received from 12.01 PM through 23.59 PM on 05/08/2012 in SPS_server.log file until the next log rollover at noon on 05/09/2012 |
'.'yyyy-MM-dd-HH |
Specifies that the rollover begins at the start of an hour in a day |
At approximately 10 AM on 05/08/2012, the CA SiteMinder® SPS copies the SPS_server.log file to SPS_server.log.2012-05-08-09. The CA SiteMinder® SPS stores the log messages received in the 10th hour in the SPS_server.log file until the next log rollover at the 11th hour |
'.'yyyy-MM-dd-HH-mm |
Specifies that the rollover begins at the start of a minute in an hour in a day |
At approximately 10:20:00 AM on 05/08/2012, the CA SiteMinder® SPS copies the SPS_server.log file to SPS_server.log.2012-05-08-09-10-19. The CA SiteMinder® SPS stores the log messages received from 10.20.01 AM through 10:20:59 AM in the SPS_server.log file until the next log rollover at 10.21.01 AM on 05/09/2012 |
Note: For more information about log4j date pattern strings, see www.apache.com.
Copyright © 2013 CA.
All rights reserved.
|
|