Revision 7846
Added by Jing Tao almost 11 years ago
IndexEventFileLog.java | ||
---|---|---|
51 | 51 |
private File logFile = null; |
52 | 52 |
private File lastProcessedDateFile = null; |
53 | 53 |
private long index=1; |
54 |
private SimpleDateFormat format = new SimpleDateFormat(); |
|
54 |
private SimpleDateFormat format = new SimpleDateFormat("yyMMddHHmmssZ");
|
|
55 | 55 |
|
56 | 56 |
/** |
57 | 57 |
* Constructor. Initialize the log file. The log file locates solr.homeDir. |
Also available in: Unified diff
Use a new date format.