set to 2040M will be ok.
but looks a small bug here: when set to 2G, although the warning issued in error.log, in admin console still see 2G setting there.
since 32-bit OS has 2GB file-size limit, so 2G is maximum log size you can reach. For 64-bit OS, file size limit is much much larger...