Change magic number for max log size to constant