Github user anmolnar commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/450#discussion_r162945403
--- Diff: src/java/main/org/apache/zookeeper/server/persistence/Util.java
---
@@ -83,7 +86,7 @@ public static URI makeFileLoggerURL(File dataDir, File
dataLogDir,String convPol
* @return file name
*/
public static String makeLogName(long zxid) {
- return "log." + Long.toHexString(zxid);
+ return LOG_FILE_PREFIX + "." + Long.toHexString(zxid);
--- End diff --
I wonder if LOG_FILE_PREFIX included the dot, would be better for the
validation.
---